Skip to content

Commit

Permalink
Merge pull request #12 from rebeloper/master
Browse files Browse the repository at this point in the history
SPM fix
  • Loading branch information
srdanrasic authored Feb 17, 2020
2 parents adb0b86 + b69ea6e commit 63ff2af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/Layout/ChildNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
// THE SOFTWARE.
//

import UIKit

/// A decorator over child layout node that provides a way for the child to layout itself
/// with the respect to the parent it will eventually be added to.
public class ChildNode<Child: LayoutNode>: LayoutNode, Anchorable where Child: Anchorable {
Expand Down
2 changes: 2 additions & 0 deletions Sources/Layout/Layout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
// THE SOFTWARE.
//

import UIKit

/// A type that represents layout calculation as a closure.
public struct Layout<LayoutNode: Layoutless.LayoutNode>: LayoutProtocol {

Expand Down
1 change: 1 addition & 0 deletions Sources/Layout/LayoutProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
//

import Foundation
import UIKit

/// A type-erased `LayoutProtocol`.
public protocol AnyLayout: LayoutNode {
Expand Down

0 comments on commit 63ff2af

Please sign in to comment.