diff --git a/Classes/NorthLayout.swift b/Classes/NorthLayout.swift
index 00013a7..e81d2b1 100644
--- a/Classes/NorthLayout.swift
+++ b/Classes/NorthLayout.swift
@@ -6,7 +6,7 @@
// Copyright (c) 2015 banjun. All rights reserved.
//
-#if os(iOS)
+#if os(iOS) || os(tvOS)
import UIKit
public typealias UXView = UIView
#else
@@ -22,7 +22,7 @@ public extension UXView {
public func northLayoutFormat(metrics: [String:CGFloat], _ views: [String:UXView], options: NSLayoutFormatOptions) -> String -> Void {
for v in views.values {
- #if os(iOS)
+ #if os(iOS) || os(tvOS)
let isAlreadySubview = v.isDescendantOfView(self)
#else
let isAlreadySubview = v.isDescendantOf(self)
diff --git a/Example/NorthLayout-tvos/AppDelegate.swift b/Example/NorthLayout-tvos/AppDelegate.swift
new file mode 100644
index 0000000..a5f7022
--- /dev/null
+++ b/Example/NorthLayout-tvos/AppDelegate.swift
@@ -0,0 +1,46 @@
+//
+// AppDelegate.swift
+// NorthLayout-tvos
+//
+// Created by BAN Jun on 9/19/15.
+// Copyright © 2015 banjun. All rights reserved.
+//
+
+import UIKit
+
+@UIApplicationMain
+class AppDelegate: UIResponder, UIApplicationDelegate {
+
+ var window: UIWindow?
+
+
+ func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
+ // Override point for customization after application launch.
+ return true
+ }
+
+ func applicationWillResignActive(application: UIApplication) {
+ // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
+ // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
+ }
+
+ func applicationDidEnterBackground(application: UIApplication) {
+ // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
+ }
+
+ func applicationWillEnterForeground(application: UIApplication) {
+ // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
+ }
+
+ func applicationDidBecomeActive(application: UIApplication) {
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
+ }
+
+ func applicationWillTerminate(application: UIApplication) {
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
+ }
+
+
+}
+
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json
new file mode 100644
index 0000000..0564959
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json
@@ -0,0 +1,12 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Contents.json
new file mode 100644
index 0000000..da4a164
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json
new file mode 100644
index 0000000..8bf75d9
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json
@@ -0,0 +1,17 @@
+{
+ "layers" : [
+ {
+ "filename" : "Front.imagestacklayer"
+ },
+ {
+ "filename" : "Middle.imagestacklayer"
+ },
+ {
+ "filename" : "Back.imagestacklayer"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json
new file mode 100644
index 0000000..0564959
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json
@@ -0,0 +1,12 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Contents.json
new file mode 100644
index 0000000..da4a164
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json
new file mode 100644
index 0000000..0564959
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json
@@ -0,0 +1,12 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Contents.json
new file mode 100644
index 0000000..da4a164
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json
new file mode 100644
index 0000000..0564959
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json
@@ -0,0 +1,12 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Contents.json
new file mode 100644
index 0000000..da4a164
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json
new file mode 100644
index 0000000..8bf75d9
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json
@@ -0,0 +1,17 @@
+{
+ "layers" : [
+ {
+ "filename" : "Front.imagestacklayer"
+ },
+ {
+ "filename" : "Middle.imagestacklayer"
+ },
+ {
+ "filename" : "Back.imagestacklayer"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json
new file mode 100644
index 0000000..0564959
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json
@@ -0,0 +1,12 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Contents.json
new file mode 100644
index 0000000..da4a164
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json
new file mode 100644
index 0000000..0564959
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json
@@ -0,0 +1,12 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Contents.json
new file mode 100644
index 0000000..da4a164
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json
new file mode 100644
index 0000000..6a3dcfa
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json
@@ -0,0 +1,26 @@
+{
+ "assets" : [
+ {
+ "size" : "1280x768",
+ "idiom" : "tv",
+ "filename" : "App Icon - Large.imagestack",
+ "role" : "primary-app-icon"
+ },
+ {
+ "size" : "400x240",
+ "idiom" : "tv",
+ "filename" : "App Icon - Small.imagestack",
+ "role" : "primary-app-icon"
+ },
+ {
+ "size" : "1920x720",
+ "idiom" : "tv",
+ "filename" : "Top Shelf Image.imageset",
+ "role" : "top-shelf-image"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json
new file mode 100644
index 0000000..0564959
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json
@@ -0,0 +1,12 @@
+{
+ "images" : [
+ {
+ "idiom" : "tv",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/Contents.json
new file mode 100644
index 0000000..da4a164
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Assets.xcassets/LaunchImage.launchimage/Contents.json b/Example/NorthLayout-tvos/Assets.xcassets/LaunchImage.launchimage/Contents.json
new file mode 100644
index 0000000..29d94c7
--- /dev/null
+++ b/Example/NorthLayout-tvos/Assets.xcassets/LaunchImage.launchimage/Contents.json
@@ -0,0 +1,15 @@
+{
+ "images" : [
+ {
+ "orientation" : "landscape",
+ "idiom" : "tv",
+ "extent" : "full-screen",
+ "minimum-system-version" : "9.0",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Example/NorthLayout-tvos/Base.lproj/Main.storyboard b/Example/NorthLayout-tvos/Base.lproj/Main.storyboard
new file mode 100644
index 0000000..5eddf2f
--- /dev/null
+++ b/Example/NorthLayout-tvos/Base.lproj/Main.storyboard
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Example/NorthLayout-tvos/Info.plist b/Example/NorthLayout-tvos/Info.plist
new file mode 100644
index 0000000..4f33860
--- /dev/null
+++ b/Example/NorthLayout-tvos/Info.plist
@@ -0,0 +1,32 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ $(PRODUCT_NAME)
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1
+ LSRequiresIPhoneOS
+
+ UIMainStoryboardFile
+ Main
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+
+
diff --git a/Example/NorthLayout-tvos/ViewController.swift b/Example/NorthLayout-tvos/ViewController.swift
new file mode 100644
index 0000000..82dee60
--- /dev/null
+++ b/Example/NorthLayout-tvos/ViewController.swift
@@ -0,0 +1,77 @@
+//
+// ViewController.swift
+// NorthLayout-tvos
+//
+// Created by BAN Jun on 9/19/15.
+// Copyright © 2015 banjun. All rights reserved.
+//
+
+import UIKit
+import NorthLayout
+
+
+private func colorImage(color: UIColor) -> UIImage {
+ UIGraphicsBeginImageContext(CGSizeMake(1, 1))
+ color.set()
+ UIRectFill(CGRectMake(0, 0, 1, 1))
+ let image = UIGraphicsGetImageFromCurrentImageContext()
+ UIGraphicsEndImageContext()
+ return image
+}
+
+class ViewController: UIViewController {
+ override func loadView() {
+ super.loadView()
+
+ edgesForExtendedLayout = .None
+ view.backgroundColor = UIColor.whiteColor()
+
+ let iconView = UIImageView(image: colorImage(UIColor(red: 0.63, green: 0.9, blue: 1, alpha: 1)))
+ let iconWidth = CGFloat(32)
+ iconView.layer.cornerRadius = iconWidth / 2
+ iconView.clipsToBounds = true
+
+ let nameLabel = UILabel()
+ nameLabel.text = "Name"
+
+ let dateLabel = UILabel()
+ dateLabel.text = "1 min ago"
+ dateLabel.font = UIFont.systemFontOfSize(12)
+ dateLabel.textColor = UIColor.lightGrayColor()
+
+ let textLabel = UILabel()
+ textLabel.text = "Some text go here"
+
+ let favButton = UIButton(type: .System)
+ favButton.setTitle("⭐️", forState: .Normal)
+ favButton.backgroundColor = UIColor(red: 0.17, green: 0.29, blue: 0.45, alpha: 1.0)
+ favButton.setTitleColor(UIColor.whiteColor(), forState: .Normal)
+ favButton.layer.cornerRadius = 4
+ favButton.clipsToBounds = true
+
+ let replyButton = UIButton(type: .System)
+ replyButton.setTitle("Reply", forState: .Normal)
+ replyButton.backgroundColor = favButton.backgroundColor
+ replyButton.setTitleColor(UIColor.whiteColor(), forState: .Normal)
+ replyButton.layer.cornerRadius = 4
+ replyButton.clipsToBounds = true
+
+ let autolayout = view.northLayoutFormat(["p": 8, "iconWidth": iconWidth], [
+ "icon": iconView,
+ "name": nameLabel,
+ "date": dateLabel,
+ "text": textLabel,
+ "fav": favButton,
+ "reply": replyButton,
+ ])
+ autolayout("H:|-p-[icon(==iconWidth)]-p-[name]-p-[date]-p-|")
+ autolayout("H:|-p-[text]-p-|")
+ autolayout("H:|-p-[fav]-p-[reply(==fav)]-p-|")
+ autolayout("V:|-p-[icon(==iconWidth)]-p-[text]")
+ autolayout("V:|-p-[name(==icon)]")
+ autolayout("V:|-p-[date]")
+ autolayout("V:[text]-p-[fav]")
+ autolayout("V:[text]-p-[reply]")
+ }
+}
+
diff --git a/Example/NorthLayout-tvosTests/Info.plist b/Example/NorthLayout-tvosTests/Info.plist
new file mode 100644
index 0000000..ba72822
--- /dev/null
+++ b/Example/NorthLayout-tvosTests/Info.plist
@@ -0,0 +1,24 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ $(PRODUCT_NAME)
+ CFBundlePackageType
+ BNDL
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1
+
+
diff --git a/Example/NorthLayout-tvosTests/NorthLayout_tvosTests.swift b/Example/NorthLayout-tvosTests/NorthLayout_tvosTests.swift
new file mode 100644
index 0000000..729ddd8
--- /dev/null
+++ b/Example/NorthLayout-tvosTests/NorthLayout_tvosTests.swift
@@ -0,0 +1,36 @@
+//
+// NorthLayout_tvosTests.swift
+// NorthLayout-tvosTests
+//
+// Created by BAN Jun on 9/19/15.
+// Copyright © 2015 banjun. All rights reserved.
+//
+
+import XCTest
+@testable import NorthLayout_tvos
+
+class NorthLayout_tvosTests: XCTestCase {
+
+ override func setUp() {
+ super.setUp()
+ // Put setup code here. This method is called before the invocation of each test method in the class.
+ }
+
+ override func tearDown() {
+ // Put teardown code here. This method is called after the invocation of each test method in the class.
+ super.tearDown()
+ }
+
+ func testExample() {
+ // This is an example of a functional test case.
+ // Use XCTAssert and related functions to verify your tests produce the correct results.
+ }
+
+ func testPerformanceExample() {
+ // This is an example of a performance test case.
+ self.measureBlock {
+ // Put the code you want to measure the time of here.
+ }
+ }
+
+}
diff --git a/Example/NorthLayout.xcodeproj/project.pbxproj b/Example/NorthLayout.xcodeproj/project.pbxproj
index f049869..1e8e2c7 100644
--- a/Example/NorthLayout.xcodeproj/project.pbxproj
+++ b/Example/NorthLayout.xcodeproj/project.pbxproj
@@ -7,10 +7,12 @@
objects = {
/* Begin PBXBuildFile section */
- 557DC73B8628D02D0011ECA7 /* Pods_NorthLayout_ios.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F039D05235B4E3F41898A1F /* Pods_NorthLayout_ios.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
- 5A6B5746432CC6A45F1A4C2C /* Pods_NorthLayout_osx.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C56858A98C4EF9479CAA5A63 /* Pods_NorthLayout_osx.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
- 8432520C08897B776B1A88B4 /* Pods_NorthLayout_osx.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C56858A98C4EF9479CAA5A63 /* Pods_NorthLayout_osx.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
- CFB11189B450028830A371FD /* Pods_NorthLayout_ios.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F039D05235B4E3F41898A1F /* Pods_NorthLayout_ios.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
+ 1FEEA03249A59A950477596B /* Pods_tvos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 19D07A37A4CFF1E23E98B210 /* Pods_tvos.framework */; };
+ 6305095277F3FD5FB0DB3BCF /* Pods_osx.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7072BEA246761BF8CAA7A7A5 /* Pods_osx.framework */; };
+ 776AA624B7BD06CC924500C1 /* Pods_ios.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09A1EA52353523A708606C29 /* Pods_ios.framework */; };
+ 79787ACEB6FD6C5C522C86C2 /* Pods_osx.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7072BEA246761BF8CAA7A7A5 /* Pods_osx.framework */; };
+ CDA58D249488D9D2BEF5796B /* Pods_tvos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 19D07A37A4CFF1E23E98B210 /* Pods_tvos.framework */; };
+ D9CD6CB7DEF6E75EDD98766D /* Pods_ios.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09A1EA52353523A708606C29 /* Pods_ios.framework */; };
EA36301B1AFE29520015000C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA36301A1AFE29520015000C /* AppDelegate.swift */; };
EA36301D1AFE29520015000C /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EA36301C1AFE29520015000C /* Images.xcassets */; };
EA3630201AFE29520015000C /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = EA36301E1AFE29520015000C /* MainMenu.xib */; };
@@ -20,6 +22,11 @@
EAD913451AFE1FDE00F46CB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EAD913441AFE1FDE00F46CB9 /* Images.xcassets */; };
EAD913481AFE1FDE00F46CB9 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = EAD913461AFE1FDE00F46CB9 /* LaunchScreen.xib */; };
EAD913541AFE1FDE00F46CB9 /* NorthLayoutTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAD913531AFE1FDE00F46CB9 /* NorthLayoutTests.swift */; };
+ EAE3AAA61BACFD4E000242CA /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAE3AAA51BACFD4E000242CA /* AppDelegate.swift */; };
+ EAE3AAA81BACFD4E000242CA /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAE3AAA71BACFD4E000242CA /* ViewController.swift */; };
+ EAE3AAAB1BACFD4E000242CA /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EAE3AAA91BACFD4E000242CA /* Main.storyboard */; };
+ EAE3AAAD1BACFD4F000242CA /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EAE3AAAC1BACFD4F000242CA /* Assets.xcassets */; };
+ EAE3AAB81BACFD4F000242CA /* NorthLayout_tvosTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAE3AAB71BACFD4F000242CA /* NorthLayout_tvosTests.swift */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -37,15 +44,26 @@
remoteGlobalIDString = EAD913371AFE1FDE00F46CB9;
remoteInfo = NorthLayout;
};
+ EAE3AAB41BACFD4F000242CA /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = EAD913301AFE1FDE00F46CB9 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = EAE3AAA21BACFD4E000242CA;
+ remoteInfo = "NorthLayout-tvos";
+ };
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
+ 09A1EA52353523A708606C29 /* Pods_ios.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ios.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ 19D07A37A4CFF1E23E98B210 /* Pods_tvos.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_tvos.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ 24954311F1262E1C0E0C27DE /* Pods-ios.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ios.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ios/Pods-ios.debug.xcconfig"; sourceTree = ""; };
33B82D14DD92C663A5270492 /* Pods_NorthLayout_ios_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NorthLayout_ios_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- 46B6F128850344A7B8159D31 /* Pods-NorthLayout-ios.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NorthLayout-ios.release.xcconfig"; path = "Pods/Target Support Files/Pods-NorthLayout-ios/Pods-NorthLayout-ios.release.xcconfig"; sourceTree = ""; };
+ 461D4F593B84506732C45B21 /* Pods-ios.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ios.release.xcconfig"; path = "Pods/Target Support Files/Pods-ios/Pods-ios.release.xcconfig"; sourceTree = ""; };
4F039D05235B4E3F41898A1F /* Pods_NorthLayout_ios.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NorthLayout_ios.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- 8A63CFEBBBE6BB3DB33F0A5A /* Pods-NorthLayout-ios.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NorthLayout-ios.debug.xcconfig"; path = "Pods/Target Support Files/Pods-NorthLayout-ios/Pods-NorthLayout-ios.debug.xcconfig"; sourceTree = ""; };
- 95B50F121B078C3A60769739 /* Pods-NorthLayout-osx.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NorthLayout-osx.release.xcconfig"; path = "Pods/Target Support Files/Pods-NorthLayout-osx/Pods-NorthLayout-osx.release.xcconfig"; sourceTree = ""; };
- 9B2EF5088116611AC5D5A37A /* Pods-NorthLayout-osx.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NorthLayout-osx.debug.xcconfig"; path = "Pods/Target Support Files/Pods-NorthLayout-osx/Pods-NorthLayout-osx.debug.xcconfig"; sourceTree = ""; };
+ 7072BEA246761BF8CAA7A7A5 /* Pods_osx.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_osx.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ 8CFBA19633D9E7D4BBB515E7 /* Pods-tvos.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-tvos.debug.xcconfig"; path = "Pods/Target Support Files/Pods-tvos/Pods-tvos.debug.xcconfig"; sourceTree = ""; };
+ 9C1F6517D682CF805F940F03 /* Pods-tvos.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-tvos.release.xcconfig"; path = "Pods/Target Support Files/Pods-tvos/Pods-tvos.release.xcconfig"; sourceTree = ""; };
+ 9F50E3D585EDDFBEBE4A2763 /* Pods_NorthLayout_tvos.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NorthLayout_tvos.framework; sourceTree = BUILT_PRODUCTS_DIR; };
A00BD756D5919C03DD937649 /* Pods_NorthLayoutTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NorthLayoutTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
C56858A98C4EF9479CAA5A63 /* Pods_NorthLayout_osx.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NorthLayout_osx.framework; sourceTree = BUILT_PRODUCTS_DIR; };
EA3630161AFE29520015000C /* NorthLayout-osx.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "NorthLayout-osx.app"; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -65,6 +83,18 @@
EAD9134D1AFE1FDE00F46CB9 /* NorthLayout-ios-Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "NorthLayout-ios-Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
EAD913521AFE1FDE00F46CB9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
EAD913531AFE1FDE00F46CB9 /* NorthLayoutTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NorthLayoutTests.swift; sourceTree = ""; };
+ EAE3AAA31BACFD4E000242CA /* NorthLayout-tvos.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "NorthLayout-tvos.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ EAE3AAA51BACFD4E000242CA /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ EAE3AAA71BACFD4E000242CA /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
+ EAE3AAAA1BACFD4E000242CA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ EAE3AAAC1BACFD4F000242CA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ EAE3AAAE1BACFD4F000242CA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ EAE3AAB31BACFD4F000242CA /* NorthLayout-tvosTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "NorthLayout-tvosTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
+ EAE3AAB71BACFD4F000242CA /* NorthLayout_tvosTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NorthLayout_tvosTests.swift; sourceTree = ""; };
+ EAE3AAB91BACFD4F000242CA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ F20156C61D24920F8A554D45 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ F52A747122128DBC249C447D /* Pods-osx.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-osx.debug.xcconfig"; path = "Pods/Target Support Files/Pods-osx/Pods-osx.debug.xcconfig"; sourceTree = ""; };
+ FADBC0FDD239B43A0162DFC3 /* Pods-osx.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-osx.release.xcconfig"; path = "Pods/Target Support Files/Pods-osx/Pods-osx.release.xcconfig"; sourceTree = ""; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -72,7 +102,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 5A6B5746432CC6A45F1A4C2C /* Pods_NorthLayout_osx.framework in Frameworks */,
+ 6305095277F3FD5FB0DB3BCF /* Pods_osx.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -80,7 +110,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 8432520C08897B776B1A88B4 /* Pods_NorthLayout_osx.framework in Frameworks */,
+ 79787ACEB6FD6C5C522C86C2 /* Pods_osx.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -88,7 +118,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- CFB11189B450028830A371FD /* Pods_NorthLayout_ios.framework in Frameworks */,
+ 776AA624B7BD06CC924500C1 /* Pods_ios.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -96,20 +126,38 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 557DC73B8628D02D0011ECA7 /* Pods_NorthLayout_ios.framework in Frameworks */,
+ D9CD6CB7DEF6E75EDD98766D /* Pods_ios.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ EAE3AAA01BACFD4E000242CA /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 1FEEA03249A59A950477596B /* Pods_tvos.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ EAE3AAB01BACFD4F000242CA /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ CDA58D249488D9D2BEF5796B /* Pods_tvos.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
- 3C7D9F5C690DEE00046181E8 /* Pods */ = {
+ 1F2E926AC59BFCC15DE2569E /* Pods */ = {
isa = PBXGroup;
children = (
- 8A63CFEBBBE6BB3DB33F0A5A /* Pods-NorthLayout-ios.debug.xcconfig */,
- 46B6F128850344A7B8159D31 /* Pods-NorthLayout-ios.release.xcconfig */,
- 9B2EF5088116611AC5D5A37A /* Pods-NorthLayout-osx.debug.xcconfig */,
- 95B50F121B078C3A60769739 /* Pods-NorthLayout-osx.release.xcconfig */,
+ 24954311F1262E1C0E0C27DE /* Pods-ios.debug.xcconfig */,
+ 461D4F593B84506732C45B21 /* Pods-ios.release.xcconfig */,
+ F52A747122128DBC249C447D /* Pods-osx.debug.xcconfig */,
+ FADBC0FDD239B43A0162DFC3 /* Pods-osx.release.xcconfig */,
+ 8CFBA19633D9E7D4BBB515E7 /* Pods-tvos.debug.xcconfig */,
+ 9C1F6517D682CF805F940F03 /* Pods-tvos.release.xcconfig */,
);
name = Pods;
sourceTree = "";
@@ -121,6 +169,11 @@
A00BD756D5919C03DD937649 /* Pods_NorthLayoutTests.framework */,
33B82D14DD92C663A5270492 /* Pods_NorthLayout_ios_Tests.framework */,
C56858A98C4EF9479CAA5A63 /* Pods_NorthLayout_osx.framework */,
+ 9F50E3D585EDDFBEBE4A2763 /* Pods_NorthLayout_tvos.framework */,
+ F20156C61D24920F8A554D45 /* Pods.framework */,
+ 09A1EA52353523A708606C29 /* Pods_ios.framework */,
+ 7072BEA246761BF8CAA7A7A5 /* Pods_osx.framework */,
+ 19D07A37A4CFF1E23E98B210 /* Pods_tvos.framework */,
);
name = Frameworks;
sourceTree = "";
@@ -168,9 +221,11 @@
EAD913501AFE1FDE00F46CB9 /* NorthLayout-ios-Tests */,
EA3630171AFE29520015000C /* NorthLayout-osx */,
EA3630281AFE29520015000C /* NorthLayout-osx-Tests */,
+ EAE3AAA41BACFD4E000242CA /* NorthLayout-tvos */,
+ EAE3AAB61BACFD4F000242CA /* NorthLayout-tvosTests */,
EAD913391AFE1FDE00F46CB9 /* Products */,
- 3C7D9F5C690DEE00046181E8 /* Pods */,
61D17B006B4A0CA13BB3C183 /* Frameworks */,
+ 1F2E926AC59BFCC15DE2569E /* Pods */,
);
sourceTree = "";
};
@@ -181,6 +236,8 @@
EAD9134D1AFE1FDE00F46CB9 /* NorthLayout-ios-Tests.xctest */,
EA3630161AFE29520015000C /* NorthLayout-osx.app */,
EA3630251AFE29520015000C /* NorthLayout-osx-Tests.xctest */,
+ EAE3AAA31BACFD4E000242CA /* NorthLayout-tvos.app */,
+ EAE3AAB31BACFD4F000242CA /* NorthLayout-tvosTests.xctest */,
);
name = Products;
sourceTree = "";
@@ -222,6 +279,27 @@
name = "Supporting Files";
sourceTree = "";
};
+ EAE3AAA41BACFD4E000242CA /* NorthLayout-tvos */ = {
+ isa = PBXGroup;
+ children = (
+ EAE3AAA51BACFD4E000242CA /* AppDelegate.swift */,
+ EAE3AAA71BACFD4E000242CA /* ViewController.swift */,
+ EAE3AAA91BACFD4E000242CA /* Main.storyboard */,
+ EAE3AAAC1BACFD4F000242CA /* Assets.xcassets */,
+ EAE3AAAE1BACFD4F000242CA /* Info.plist */,
+ );
+ path = "NorthLayout-tvos";
+ sourceTree = "";
+ };
+ EAE3AAB61BACFD4F000242CA /* NorthLayout-tvosTests */ = {
+ isa = PBXGroup;
+ children = (
+ EAE3AAB71BACFD4F000242CA /* NorthLayout_tvosTests.swift */,
+ EAE3AAB91BACFD4F000242CA /* Info.plist */,
+ );
+ path = "NorthLayout-tvosTests";
+ sourceTree = "";
+ };
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@@ -307,6 +385,47 @@
productReference = EAD9134D1AFE1FDE00F46CB9 /* NorthLayout-ios-Tests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
+ EAE3AAA21BACFD4E000242CA /* NorthLayout-tvos */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = EAE3AABE1BACFD4F000242CA /* Build configuration list for PBXNativeTarget "NorthLayout-tvos" */;
+ buildPhases = (
+ 6AECD07344F3DADE09997DED /* Check Pods Manifest.lock */,
+ EAE3AA9F1BACFD4E000242CA /* Sources */,
+ EAE3AAA01BACFD4E000242CA /* Frameworks */,
+ EAE3AAA11BACFD4E000242CA /* Resources */,
+ 3D16D14AD45FB1DEE839BEBC /* Embed Pods Frameworks */,
+ CF630476F5317EB588DFE10C /* Copy Pods Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "NorthLayout-tvos";
+ productName = "NorthLayout-tvos";
+ productReference = EAE3AAA31BACFD4E000242CA /* NorthLayout-tvos.app */;
+ productType = "com.apple.product-type.application";
+ };
+ EAE3AAB21BACFD4F000242CA /* NorthLayout-tvosTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = EAE3AABF1BACFD4F000242CA /* Build configuration list for PBXNativeTarget "NorthLayout-tvosTests" */;
+ buildPhases = (
+ 554030435964155E0F0972B3 /* Check Pods Manifest.lock */,
+ EAE3AAAF1BACFD4F000242CA /* Sources */,
+ EAE3AAB01BACFD4F000242CA /* Frameworks */,
+ EAE3AAB11BACFD4F000242CA /* Resources */,
+ 4732B15FFEE8EEB77EB1527E /* Embed Pods Frameworks */,
+ 21F9EEB7BC66AE33FB8477A6 /* Copy Pods Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ EAE3AAB51BACFD4F000242CA /* PBXTargetDependency */,
+ );
+ name = "NorthLayout-tvosTests";
+ productName = "NorthLayout-tvosTests";
+ productReference = EAE3AAB31BACFD4F000242CA /* NorthLayout-tvosTests.xctest */;
+ productType = "com.apple.product-type.bundle.unit-test";
+ };
/* End PBXNativeTarget section */
/* Begin PBXProject section */
@@ -331,6 +450,14 @@
CreatedOnToolsVersion = 6.3.1;
TestTargetID = EAD913371AFE1FDE00F46CB9;
};
+ EAE3AAA21BACFD4E000242CA = {
+ CreatedOnToolsVersion = 7.1;
+ DevelopmentTeam = FPZK4WRGW7;
+ };
+ EAE3AAB21BACFD4F000242CA = {
+ CreatedOnToolsVersion = 7.1;
+ TestTargetID = EAE3AAA21BACFD4E000242CA;
+ };
};
};
buildConfigurationList = EAD913331AFE1FDE00F46CB9 /* Build configuration list for PBXProject "NorthLayout" */;
@@ -350,6 +477,8 @@
EAD9134C1AFE1FDE00F46CB9 /* NorthLayout-ios-Tests */,
EA3630151AFE29510015000C /* NorthLayout-osx */,
EA3630241AFE29520015000C /* NorthLayout-osx-Tests */,
+ EAE3AAA21BACFD4E000242CA /* NorthLayout-tvos */,
+ EAE3AAB21BACFD4F000242CA /* NorthLayout-tvosTests */,
);
};
/* End PBXProject section */
@@ -387,6 +516,22 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ EAE3AAA11BACFD4E000242CA /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ EAE3AAAD1BACFD4F000242CA /* Assets.xcassets in Resources */,
+ EAE3AAAB1BACFD4E000242CA /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ EAE3AAB11BACFD4F000242CA /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
@@ -402,7 +547,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NorthLayout-osx/Pods-NorthLayout-osx-resources.sh\"\n";
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-osx/Pods-osx-resources.sh\"\n";
showEnvVarsInLog = 0;
};
122958946E040ED586B41B57 /* Check Pods Manifest.lock */ = {
@@ -420,6 +565,66 @@
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
+ 21F9EEB7BC66AE33FB8477A6 /* Copy Pods Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Copy Pods Resources";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-tvos/Pods-tvos-resources.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 3D16D14AD45FB1DEE839BEBC /* Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Embed Pods Frameworks";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-tvos/Pods-tvos-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 4732B15FFEE8EEB77EB1527E /* Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Embed Pods Frameworks";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-tvos/Pods-tvos-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 554030435964155E0F0972B3 /* Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Check Pods Manifest.lock";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
+ showEnvVarsInLog = 0;
+ };
5B8F8CDD6ECB05CEBEB9D97F /* Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -432,7 +637,22 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NorthLayout-ios/Pods-NorthLayout-ios-resources.sh\"\n";
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ios/Pods-ios-resources.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 6AECD07344F3DADE09997DED /* Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Check Pods Manifest.lock";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
6C33155C4A78B5DE825BD0B1 /* Embed Pods Frameworks */ = {
@@ -447,7 +667,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NorthLayout-osx/Pods-NorthLayout-osx-frameworks.sh\"\n";
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-osx/Pods-osx-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
8413BFB747F50F25A457E3A9 /* Check Pods Manifest.lock */ = {
@@ -492,7 +712,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NorthLayout-ios/Pods-NorthLayout-ios-frameworks.sh\"\n";
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ios/Pods-ios-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
C5401313566BB2633D613DBA /* Copy Pods Resources */ = {
@@ -507,7 +727,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NorthLayout-ios/Pods-NorthLayout-ios-resources.sh\"\n";
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ios/Pods-ios-resources.sh\"\n";
showEnvVarsInLog = 0;
};
CA1D164D1A1A0215369BB31A /* Check Pods Manifest.lock */ = {
@@ -525,6 +745,21 @@
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
+ CF630476F5317EB588DFE10C /* Copy Pods Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Copy Pods Resources";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-tvos/Pods-tvos-resources.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
DC4378AD3FE0D88F21199126 /* Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -537,7 +772,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NorthLayout-osx/Pods-NorthLayout-osx-resources.sh\"\n";
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-osx/Pods-osx-resources.sh\"\n";
showEnvVarsInLog = 0;
};
F1D2622F58D2819A074CF555 /* Embed Pods Frameworks */ = {
@@ -552,7 +787,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NorthLayout-ios/Pods-NorthLayout-ios-frameworks.sh\"\n";
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ios/Pods-ios-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
F92FD7C05A9959137B43DE81 /* Embed Pods Frameworks */ = {
@@ -567,7 +802,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NorthLayout-osx/Pods-NorthLayout-osx-frameworks.sh\"\n";
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-osx/Pods-osx-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
@@ -606,6 +841,23 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ EAE3AA9F1BACFD4E000242CA /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ EAE3AAA81BACFD4E000242CA /* ViewController.swift in Sources */,
+ EAE3AAA61BACFD4E000242CA /* AppDelegate.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ EAE3AAAF1BACFD4F000242CA /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ EAE3AAB81BACFD4F000242CA /* NorthLayout_tvosTests.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
@@ -619,6 +871,11 @@
target = EAD913371AFE1FDE00F46CB9 /* NorthLayout-ios */;
targetProxy = EAD9134E1AFE1FDE00F46CB9 /* PBXContainerItemProxy */;
};
+ EAE3AAB51BACFD4F000242CA /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = EAE3AAA21BACFD4E000242CA /* NorthLayout-tvos */;
+ targetProxy = EAE3AAB41BACFD4F000242CA /* PBXContainerItemProxy */;
+ };
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
@@ -638,12 +895,20 @@
name = LaunchScreen.xib;
sourceTree = "";
};
+ EAE3AAA91BACFD4E000242CA /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ EAE3AAAA1BACFD4E000242CA /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
EA36302E1AFE29520015000C /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 9B2EF5088116611AC5D5A37A /* Pods-NorthLayout-osx.debug.xcconfig */;
+ baseConfigurationReference = F52A747122128DBC249C447D /* Pods-osx.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "";
@@ -665,7 +930,7 @@
};
EA36302F1AFE29520015000C /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 95B50F121B078C3A60769739 /* Pods-NorthLayout-osx.release.xcconfig */;
+ baseConfigurationReference = FADBC0FDD239B43A0162DFC3 /* Pods-osx.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "";
@@ -682,7 +947,7 @@
};
EA3630311AFE29520015000C /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 9B2EF5088116611AC5D5A37A /* Pods-NorthLayout-osx.debug.xcconfig */;
+ baseConfigurationReference = F52A747122128DBC249C447D /* Pods-osx.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
COMBINE_HIDPI_IMAGES = YES;
@@ -707,7 +972,7 @@
};
EA3630321AFE29520015000C /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 95B50F121B078C3A60769739 /* Pods-NorthLayout-osx.release.xcconfig */;
+ baseConfigurationReference = FADBC0FDD239B43A0162DFC3 /* Pods-osx.release.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
COMBINE_HIDPI_IMAGES = YES;
@@ -811,7 +1076,7 @@
};
EAD913581AFE1FDE00F46CB9 /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 8A63CFEBBBE6BB3DB33F0A5A /* Pods-NorthLayout-ios.debug.xcconfig */;
+ baseConfigurationReference = 24954311F1262E1C0E0C27DE /* Pods-ios.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ENABLE_BITCODE = NO;
@@ -824,7 +1089,7 @@
};
EAD913591AFE1FDE00F46CB9 /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 46B6F128850344A7B8159D31 /* Pods-NorthLayout-ios.release.xcconfig */;
+ baseConfigurationReference = 461D4F593B84506732C45B21 /* Pods-ios.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ENABLE_BITCODE = NO;
@@ -837,7 +1102,7 @@
};
EAD9135B1AFE1FDE00F46CB9 /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 8A63CFEBBBE6BB3DB33F0A5A /* Pods-NorthLayout-ios.debug.xcconfig */;
+ baseConfigurationReference = 24954311F1262E1C0E0C27DE /* Pods-ios.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
FRAMEWORK_SEARCH_PATHS = (
@@ -858,7 +1123,7 @@
};
EAD9135C1AFE1FDE00F46CB9 /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 46B6F128850344A7B8159D31 /* Pods-NorthLayout-ios.release.xcconfig */;
+ baseConfigurationReference = 461D4F593B84506732C45B21 /* Pods-ios.release.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
FRAMEWORK_SEARCH_PATHS = (
@@ -873,6 +1138,76 @@
};
name = Release;
};
+ EAE3AABA1BACFD4F000242CA /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 8CFBA19633D9E7D4BBB515E7 /* Pods-tvos.debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
+ ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
+ CODE_SIGN_IDENTITY = "iPhone Developer";
+ "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "iPhone Developer";
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ INFOPLIST_FILE = "NorthLayout-tvos/Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = "jp.banjun.NorthLayout-tvos";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ PROVISIONING_PROFILE = "";
+ SDKROOT = appletvos;
+ TARGETED_DEVICE_FAMILY = 3;
+ TVOS_DEPLOYMENT_TARGET = 9.0;
+ };
+ name = Debug;
+ };
+ EAE3AABB1BACFD4F000242CA /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9C1F6517D682CF805F940F03 /* Pods-tvos.release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
+ ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
+ CODE_SIGN_IDENTITY = "iPhone Developer";
+ "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "iPhone Developer";
+ INFOPLIST_FILE = "NorthLayout-tvos/Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = "jp.banjun.NorthLayout-tvos";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ PROVISIONING_PROFILE = "";
+ SDKROOT = appletvos;
+ TARGETED_DEVICE_FAMILY = 3;
+ TVOS_DEPLOYMENT_TARGET = 9.0;
+ };
+ name = Release;
+ };
+ EAE3AABC1BACFD4F000242CA /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 8CFBA19633D9E7D4BBB515E7 /* Pods-tvos.debug.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ INFOPLIST_FILE = "NorthLayout-tvosTests/Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = "jp.banjun.NorthLayout-tvosTests";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = appletvos;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NorthLayout-tvos.app/NorthLayout-tvos";
+ TVOS_DEPLOYMENT_TARGET = 9.0;
+ };
+ name = Debug;
+ };
+ EAE3AABD1BACFD4F000242CA /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9C1F6517D682CF805F940F03 /* Pods-tvos.release.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ INFOPLIST_FILE = "NorthLayout-tvosTests/Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = "jp.banjun.NorthLayout-tvosTests";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = appletvos;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NorthLayout-tvos.app/NorthLayout-tvos";
+ TVOS_DEPLOYMENT_TARGET = 9.0;
+ };
+ name = Release;
+ };
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
@@ -921,6 +1256,24 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
+ EAE3AABE1BACFD4F000242CA /* Build configuration list for PBXNativeTarget "NorthLayout-tvos" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ EAE3AABA1BACFD4F000242CA /* Debug */,
+ EAE3AABB1BACFD4F000242CA /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ EAE3AABF1BACFD4F000242CA /* Build configuration list for PBXNativeTarget "NorthLayout-tvosTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ EAE3AABC1BACFD4F000242CA /* Debug */,
+ EAE3AABD1BACFD4F000242CA /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
/* End XCConfigurationList section */
};
rootObject = EAD913301AFE1FDE00F46CB9 /* Project object */;
diff --git a/Example/NorthLayout.xcodeproj/xcshareddata/xcschemes/NorthLayout-ios.xcscheme b/Example/NorthLayout.xcodeproj/xcshareddata/xcschemes/NorthLayout-ios.xcscheme
index 2b84fa9..68426a0 100644
--- a/Example/NorthLayout.xcodeproj/xcshareddata/xcschemes/NorthLayout-ios.xcscheme
+++ b/Example/NorthLayout.xcodeproj/xcshareddata/xcschemes/NorthLayout-ios.xcscheme
@@ -14,7 +14,7 @@
buildForAnalyzing = "NO">
diff --git a/Example/NorthLayout.xcodeproj/xcshareddata/xcschemes/NorthLayout-osx.xcscheme b/Example/NorthLayout.xcodeproj/xcshareddata/xcschemes/NorthLayout-osx.xcscheme
index 04a5d92..ccf1cf0 100644
--- a/Example/NorthLayout.xcodeproj/xcshareddata/xcschemes/NorthLayout-osx.xcscheme
+++ b/Example/NorthLayout.xcodeproj/xcshareddata/xcschemes/NorthLayout-osx.xcscheme
@@ -14,7 +14,7 @@
buildForAnalyzing = "NO">
diff --git a/Example/NorthLayout.xcodeproj/xcshareddata/xcschemes/NorthLayout-tvos.xcscheme b/Example/NorthLayout.xcodeproj/xcshareddata/xcschemes/NorthLayout-tvos.xcscheme
new file mode 100644
index 0000000..af36397
--- /dev/null
+++ b/Example/NorthLayout.xcodeproj/xcshareddata/xcschemes/NorthLayout-tvos.xcscheme
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Example/NorthLayout.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/Example/NorthLayout.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 0000000..54782e3
--- /dev/null
+++ b/Example/NorthLayout.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded
+
+
+
diff --git a/Example/Podfile b/Example/Podfile
index 18252b6..b1aadfe 100644
--- a/Example/Podfile
+++ b/Example/Podfile
@@ -1,14 +1,21 @@
use_frameworks!
+
-target 'NorthLayout-ios' do
+target 'ios' do
platform :ios, '8.0'
link_with 'NorthLayout-ios', 'NorthLayout-ios-Tests'
pod 'NorthLayout', :path => '../'
end
-target 'NorthLayout-osx' do
+target 'osx' do
platform :osx, '10.10'
link_with 'NorthLayout-osx', 'NorthLayout-osx-Tests'
pod 'NorthLayout', :path => '../'
end
+target 'tvos' do
+ platform :tvos, '9.0'
+ link_with 'NorthLayout-tvos', 'NorthLayout-tvosTests'
+ pod 'NorthLayout', :path => '../'
+end
+
diff --git a/Example/Podfile.lock b/Example/Podfile.lock
index 1849650..ba7e99e 100644
--- a/Example/Podfile.lock
+++ b/Example/Podfile.lock
@@ -9,6 +9,6 @@ EXTERNAL SOURCES:
:path: "../"
SPEC CHECKSUMS:
- NorthLayout: 52739ecae3c9c5877770869d4277c308512f9fd5
+ NorthLayout: c908136726151f739232ac33e51f4dfc1240ca87
-COCOAPODS: 0.37.2
+COCOAPODS: 0.39.0
diff --git a/NorthLayout.podspec b/NorthLayout.podspec
index 6484447..9ca613b 100644
--- a/NorthLayout.podspec
+++ b/NorthLayout.podspec
@@ -11,9 +11,11 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/banjun/NorthLayout.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/banjun'
s.ios.deployment_target = '8.0'
+ s.tvos.deployment_target = '9.0'
s.osx.deployment_target = '10.10'
s.source_files = 'Classes/**/*'
s.ios.frameworks = 'UIKit'
+ s.tvos.frameworks = 'UIKit'
s.osx.frameworks = 'AppKit'
s.requires_arc = true
end