Skip to content
Permalink
Browse files

Added tvOS and watchOS support

  • Loading branch information...
Michael Gray
Michael Gray committed Jun 14, 2016
1 parent 8f5f4fa commit 73cd3e0b942d7acbe7fe1ab9156a6c3608bbd3a9
@@ -0,0 +1,19 @@
//
// FutureKit tvOS.h
// FutureKit tvOS
//
// Created by Michael Gray on 6/13/16.
// Copyright © 2016 Michael Gray. All rights reserved.
//

#import <UIKit/UIKit.h>

//! Project version number for FutureKit tvOS.
FOUNDATION_EXPORT double FutureKit_tvOSVersionNumber;

//! Project version string for FutureKit tvOS.
FOUNDATION_EXPORT const unsigned char FutureKit_tvOSVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <FutureKit_tvOS/PublicHeader.h>


@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
@@ -0,0 +1,36 @@
//
// FutureKit_tvOSTests.swift
// FutureKit tvOSTests
//
// Created by Michael Gray on 6/13/16.
// Copyright © 2016 Michael Gray. All rights reserved.
//
import XCTest
@testable import FutureKit_tvOS

class FutureKit_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.
}
}

}
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
@@ -0,0 +1,19 @@
//
// FutureKit watchOS.h
// FutureKit watchOS
//
// Created by Michael Gray on 6/13/16.
// Copyright © 2016 Michael Gray. All rights reserved.
//

#import <WatchKit/WatchKit.h>

//! Project version number for FutureKit watchOS.
FOUNDATION_EXPORT double FutureKit_watchOSVersionNumber;

//! Project version string for FutureKit watchOS.
FOUNDATION_EXPORT const unsigned char FutureKit_watchOSVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <FutureKit_watchOS/PublicHeader.h>


@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FutureKit'
s.version = '2.0.0-alpha-1'
s.version = '2.0.0'
s.license = 'MIT'
s.summary = 'A Swift based Future/Promises Library for IOS and OS X.'
s.homepage = 'https://github.com/FutureKit/FutureKit'
@@ -9,6 +9,8 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/FutureKit/FutureKit.git', :tag => s.version }

s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.osx.deployment_target = '10.10'

s.source_files = "FutureKit/*.swift", "FutureKit/**/*.swift"
Oops, something went wrong.

0 comments on commit 73cd3e0

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.