From 361b54bfedece93e0743f9c8a477234c00ba7756 Mon Sep 17 00:00:00 2001 From: Alex Nagy Date: Thu, 13 Feb 2020 12:46:52 +0200 Subject: [PATCH 1/5] Update ChildNode.swift --- Sources/Layout/ChildNode.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/Layout/ChildNode.swift b/Sources/Layout/ChildNode.swift index e8ebc99..643d7d0 100644 --- a/Sources/Layout/ChildNode.swift +++ b/Sources/Layout/ChildNode.swift @@ -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: LayoutNode, Anchorable where Child: Anchorable { From d1291475669d1e66489fa5d10eb1c41e4b2c989f Mon Sep 17 00:00:00 2001 From: Alex Nagy Date: Thu, 13 Feb 2020 12:51:30 +0200 Subject: [PATCH 2/5] Update Layout.swift --- Sources/Layout/Layout.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/Layout/Layout.swift b/Sources/Layout/Layout.swift index 8ef7217..6de6290 100644 --- a/Sources/Layout/Layout.swift +++ b/Sources/Layout/Layout.swift @@ -22,6 +22,8 @@ // THE SOFTWARE. // +import UIKit + /// A type that represents layout calculation as a closure. public struct Layout: LayoutProtocol { From d5b428d20a4670aaaf25430ec050738eb11bc970 Mon Sep 17 00:00:00 2001 From: Alex Nagy Date: Thu, 13 Feb 2020 12:55:00 +0200 Subject: [PATCH 3/5] Update LayoutProtocol.swift --- Sources/Layout/LayoutProtocol.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Layout/LayoutProtocol.swift b/Sources/Layout/LayoutProtocol.swift index 43306f5..09a6c4d 100644 --- a/Sources/Layout/LayoutProtocol.swift +++ b/Sources/Layout/LayoutProtocol.swift @@ -23,6 +23,7 @@ // import Foundation +import UIKit /// A type-erased `LayoutProtocol`. public protocol AnyLayout: LayoutNode { From 335c3b1bd163727ec81f3b01a5b684e7b63c19fa Mon Sep 17 00:00:00 2001 From: Alex Nagy Date: Thu, 13 Feb 2020 13:31:10 +0200 Subject: [PATCH 4/5] Update Package.swift --- Package.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 8439add..8063c95 100644 --- a/Package.swift +++ b/Package.swift @@ -2,12 +2,12 @@ import PackageDescription let package = Package( - name: "Layoutless", + name: "LayoutlessRebeloper", platforms: [ .iOS(.v9), .tvOS(.v9) ], products: [ - .library(name: "Layoutless", targets: ["Layoutless"]) + .library(name: "LayoutlessRebeloper", targets: ["Layoutless"]) ], targets: [ .target(name: "Layoutless", path: "Sources") From b69ea6e31be7a48a503870f01b775bdc250cff7b Mon Sep 17 00:00:00 2001 From: Alex Nagy Date: Fri, 14 Feb 2020 00:37:23 +0200 Subject: [PATCH 5/5] Update Package.swift removed Rebeloper --- Package.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 8063c95..8439add 100644 --- a/Package.swift +++ b/Package.swift @@ -2,12 +2,12 @@ import PackageDescription let package = Package( - name: "LayoutlessRebeloper", + name: "Layoutless", platforms: [ .iOS(.v9), .tvOS(.v9) ], products: [ - .library(name: "LayoutlessRebeloper", targets: ["Layoutless"]) + .library(name: "Layoutless", targets: ["Layoutless"]) ], targets: [ .target(name: "Layoutless", path: "Sources")