Skip to content

Commit 63ff2af

Browse files
authored
Merge pull request #12 from rebeloper/master
SPM fix
2 parents adb0b86 + b69ea6e commit 63ff2af

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

Sources/Layout/ChildNode.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
// THE SOFTWARE.
2323
//
2424

25+
import UIKit
26+
2527
/// A decorator over child layout node that provides a way for the child to layout itself
2628
/// with the respect to the parent it will eventually be added to.
2729
public class ChildNode<Child: LayoutNode>: LayoutNode, Anchorable where Child: Anchorable {

Sources/Layout/Layout.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
// THE SOFTWARE.
2323
//
2424

25+
import UIKit
26+
2527
/// A type that represents layout calculation as a closure.
2628
public struct Layout<LayoutNode: Layoutless.LayoutNode>: LayoutProtocol {
2729

Sources/Layout/LayoutProtocol.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
//
2424

2525
import Foundation
26+
import UIKit
2627

2728
/// A type-erased `LayoutProtocol`.
2829
public protocol AnyLayout: LayoutNode {

0 commit comments

Comments
 (0)