This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install github "mxcl/PromiseKit" "4.0.5"
- Loading branch information
0 parents
commit 859dc35
Showing
426 changed files
with
29,425 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Build | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
* PromiseKit version: | ||
* Xcode version: | ||
* CocoaPods version: **delete line if not applicable** | ||
* Carthage version: **delete line if not applicable** | ||
|
||
> Please format your code in triple backticks and delete this line before submitting your ticket. Failure to remove this line may result in mockery. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*.xcodeproj/**/xcuserdata/ | ||
*.xcscmblueprint | ||
/Carthage | ||
/Cartfile.resolved | ||
/.build | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[submodule "Extensions/Foundation"] | ||
path = Extensions/Foundation | ||
url = https://github.com/PromiseKit/Foundation.git | ||
[submodule "Extensions/UIKit"] | ||
path = Extensions/UIKit | ||
url = https://github.com/PromiseKit/UIKit.git | ||
[submodule "Extensions/Accounts"] | ||
path = Extensions/Accounts | ||
url = https://github.com/PromiseKit/Accounts.git | ||
[submodule "Extensions/MessagesUI"] | ||
path = Extensions/MessagesUI | ||
url = https://github.com/PromiseKit/MessagesUI.git | ||
[submodule "Extensions/WatchConnectivity"] | ||
path = Extensions/WatchConnectivity | ||
url = https://github.com/PromiseKit/WatchConnectivity.git | ||
[submodule "Extensions/Photos"] | ||
path = Extensions/Photos | ||
url = https://github.com/PromiseKit/Photos.git | ||
[submodule "Extensions/MapKit"] | ||
path = Extensions/MapKit | ||
url = https://github.com/PromiseKit/MapKit.git | ||
[submodule "Extensions/CloudKit"] | ||
path = Extensions/CloudKit | ||
url = https://github.com/PromiseKit/CloudKit.git | ||
[submodule "Extensions/AddressBook"] | ||
path = Extensions/AddressBook | ||
url = https://github.com/PromiseKit/AddressBook.git | ||
[submodule "Extensions/AssetsLibrary"] | ||
path = Extensions/AssetsLibrary | ||
url = https://github.com/PromiseKit/AssetsLibrary.git | ||
[submodule "Extensions/CoreLocation"] | ||
path = Extensions/CoreLocation | ||
url = https://github.com/PromiseKit/CoreLocation.git | ||
[submodule "Extensions/QuartzCore"] | ||
path = Extensions/QuartzCore | ||
url = https://github.com/PromiseKit/QuartzCore.git | ||
[submodule "Extensions/Social"] | ||
path = Extensions/Social | ||
url = https://github.com/PromiseKit/Social.git | ||
[submodule "Extensions/StoreKit"] | ||
path = Extensions/StoreKit | ||
url = https://github.com/PromiseKit/StoreKit.git | ||
[submodule "Extensions/Bolts"] | ||
path = Extensions/Bolts | ||
url = https://github.com/PromiseKit/Bolts.git | ||
[submodule "Extensions/CoreBluetooth"] | ||
path = Extensions/CoreBluetooth | ||
url = https://github.com/PromiseKit/CoreBluetooth.git | ||
[submodule "Extensions/EventKit"] | ||
path = Extensions/EventKit | ||
url = https://github.com/PromiseKit/EventKit.git | ||
[submodule "Extensions/SystemConfiguration"] | ||
path = Extensions/SystemConfiguration | ||
url = https://github.com/PromiseKit/SystemConfiguration | ||
[submodule "Extensions/Alamofire"] | ||
path = Extensions/Alamofire | ||
url = https://github.com/PromiseKit/Alamofire | ||
[submodule "Extensions/OMGHTTPURLRQ"] | ||
path = Extensions/OMGHTTPURLRQ | ||
url = https://github.com/PromiseKit/OMGHTTPURLRQ | ||
[submodule "Extensions/AVFoundation"] | ||
path = Extensions/AVFoundation | ||
url = https://github.com/PromiseKit/AVFoundation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
module: PromiseKit | ||
author: Max Howell | ||
author_url: http://mxcl.github.io | ||
github_url: https://github.com/mxcl/PromiseKit | ||
exclude: | ||
- README.markdown | ||
- Sources/dispatch_promise.m | ||
- Sources/DispatchQueue+Promise.swift | ||
- Sources/URLDataPromise.swift | ||
- Sources/Zalgo.swift | ||
- Sources/Error.swift | ||
root_url: http://promisekit.org/docs/handbook/ | ||
theme: fullwidth | ||
hide_documentation_coverage: true | ||
skip_undocumented: true | ||
|
||
custom_categories: | ||
- name: Classes | ||
children: | ||
- Promise | ||
- AnyPromise | ||
|
||
- name: Functions | ||
children: | ||
- when(fulfilled:) | ||
- when(resolved:) | ||
- firstly(execute:) | ||
- race(promises:) | ||
- after(interval:) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
language: objective-c | ||
osx_image: xcode8 | ||
|
||
env: | ||
- PLATFORM=Mac | ||
- PLATFORM=iOS NAME='iPhone SE' | ||
- PLATFORM=tvOS NAME='Apple TV 1080p' | ||
- PLATFORM=watchOS | ||
|
||
before_install: | ||
- if [ -n "$NAME" ]; then | ||
export UUID=$(instruments -s | ruby -e "ARGF.each_line{ |ln| ln =~ /$NAME .* \[(.*)\]/; if \$1; puts(\$1); exit; end }"); | ||
fi | ||
|
||
script: | ||
- set -o pipefail; | ||
case $PLATFORM in | ||
Mac) | ||
xcodebuild -scheme PromiseKit -enableCodeCoverage YES test | xcpretty;; | ||
iOS|tvOS) | ||
xcrun instruments -w "$UUID" || true; | ||
sleep 15; | ||
xcodebuild -scheme PromiseKit -destination "id=$UUID" -enableCodeCoverage YES test | xcpretty;; | ||
watchOS) | ||
xcodebuild -scheme PromiseKit -destination "name=Apple Watch - 38mm" | xcpretty;; | ||
esac | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# [4.0.0](https://github.com/mxcl/PromiseKit/releases/tag/4.0.0) | ||
|
||
* [PromiseKit 4 announcement post](http://promisekit.org/news/2016/09/PromiseKit-4.0-Released/). | ||
|
||
# [3.4.3](https://github.com/mxcl/PromiseKit/releases/tag/3.4.3) Aug 7th, 2016 | ||
|
||
* Fix regression to UIViewController extension introduced in 3.4.0 | ||
|
||
# [3.2.1](https://github.com/mxcl/PromiseKit/releases/tag/3.2.1) Jul 10th, 2016 | ||
|
||
* Critical fix for archiving projects using our NSNotificationCenter Swift extension | ||
* Additional fixes from the community | ||
|
||
# [3.2.0](https://github.com/mxcl/PromiseKit/releases/tag/3.2.0) May 20th, 2016 | ||
|
||
* A new EventKit category | ||
* Ability to change the global queue for promises | ||
* Ability to define a custom queue for `error` | ||
* Documentation and other various fixes | ||
|
||
# [3.1.1](https://github.com/mxcl/PromiseKit/releases/tag/3.1.1) Apr 6th, 2016 | ||
|
||
* Temporary aliases to disambiguate `error` the property and function | ||
* Fix for edge cases when dismissing a promised view controller | ||
* Various minor fixes | ||
|
||
# [3.1.0](https://github.com/mxcl/PromiseKit/releases/tag/3.1.0) Mar 26th, 2016 | ||
|
||
* Swift 2.2 support plus additional improvements from the community. | ||
|
||
# [3.0.3](https://github.com/mxcl/PromiseKit/releases/tag/3.0.3) Feb 29th, 2016 | ||
|
||
* AnyPromise bridging to NSString and objc BOOL plus additional improvements from the community. | ||
|
||
# [3.0.2](https://github.com/mxcl/PromiseKit/releases/tag/3.0.2) Jan 31st, 2016 | ||
|
||
* tvOS support | ||
|
||
# [3.0.1](https://github.com/mxcl/PromiseKit/releases/tag/3.0.1) Jan 14th, 2016 | ||
|
||
* Minor fixes and improvements from the community. | ||
|
||
# [3.0.0](https://github.com/mxcl/PromiseKit/releases/tag/3.0.0) Oct 1st, 2015 | ||
|
||
In Swift 2.0 `catch` and `defer` became reserved keywords mandating we rename our functions with these names. This forced a major semantic version change on PromiseKit and thus we took the opportunity to make other minor (source compatability breaking) improvements. | ||
|
||
Thus if you cannot afford to adapt to PromiseKit 3 but still want to use Xcode-7.0/Swift-2.0 we provide a [minimal changes branch] where `catch` and `defer` are renamed `catch_` and `defer_` and all other changes are the bare minimum to make PromiseKit 2 compile against Swift 2. | ||
|
||
If you still are using Xcode 6 and Swift 1.2 then use PromiseKit 2. | ||
|
||
[minimal changes branch]: https://github.com/mxcl/PromiseKit/tree/swift-2.0-minimal-changes | ||
|
||
# [2.0](https://github.com/mxcl/PromiseKit/releases/tag/2.0.0) May 14th, 2015 | ||
|
||
[PromiseKit 2 announcement post](http://promisekit.org/news/2015/05/PromiseKit-2.0-Released/). | ||
|
||
# [1.5.0](https://github.com/mxcl/PromiseKit/releases/tag/1.5.0) | ||
|
||
Swift 1.2 support. Xcode 6.3 required. | ||
|
||
# [1.4.1](https://github.com/mxcl/PromiseKit/releases/tag/1.4.1) | ||
|
||
* Added a `race()` function to the Swift branch. | ||
* Improved the zalgoness of `thenUnleashZalgo()`. | ||
* Split the Swift CocoaPods out so it is completely modular like the objc version. | ||
|
||
# [1.4.0](https://github.com/mxcl/PromiseKit/releases/tag/1.4.0) | ||
|
||
Fixes abound. An additional set of features is a series of new constructors designed to make wrapping existing asynchronous systems easier. Check out `promiseWithAdapter` and company at [cocoadocs.org]. | ||
|
||
[cocoadocs.org]: (http://cocoadocs.org/docsets/PromiseKit/1.4.0/) | ||
|
||
# [1.3.1](https://github.com/mxcl/PromiseKit/releases/tag/1.3.1) | ||
|
||
The 1.3.1 tag has been pushed, but only for Carthage users. CocoaPods will skip this version most likely with a 1.3.2 release in the near future. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.xcodeproj/**/xcuserdata/ | ||
*.xcscmblueprint | ||
/Carthage | ||
/Cartfile.resolved | ||
/.build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
language: objective-c | ||
osx_image: xcode8 | ||
|
||
before_install: | ||
export UUID=$(instruments -s | ruby -e "ARGF.each_line{ |ln| ln =~ /iPhone SE .* \[(.*)\]/; if \$1; puts(\$1); exit; end }"); | ||
|
||
install: | ||
- carthage bootstrap --platform iOS | ||
|
||
script: | ||
- set -o pipefail; | ||
xcrun instruments -w "$UUID"; | ||
sleep 15; | ||
xcodebuild -scheme PMKAVFoundation -destination "id=$UUID" test | xcpretty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github "mxcl/PromiseKit" ~> 4.0 |
7 changes: 7 additions & 0 deletions
7
Checkouts/PromiseKit/Extensions/AVFoundation/Carthage.xcconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Created by Kevin Ballard on 12/14/15. | ||
// Copyright © 2015 Postmates. All rights reserved. | ||
|
||
FRAMEWORK_SEARCH_PATHS[sdk=macosx*] = $(SRCROOT)/Carthage/Build/Mac/ $(inherited) | ||
FRAMEWORK_SEARCH_PATHS[sdk=iphone*] = $(SRCROOT)/Carthage/Build/iOS/ $(inherited) | ||
FRAMEWORK_SEARCH_PATHS[sdk=watch*] = $(SRCROOT)/Carthage/Build/watchOS/ $(inherited) | ||
FRAMEWORK_SEARCH_PATHS[sdk=appletv*] = $(SRCROOT)/Carthage/Build/tvOS/ $(inherited) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>FMWK</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>$(CURRENT_PROJECT_VERSION)</string> | ||
<key>NSPrincipalClass</key> | ||
<string></string> | ||
</dict> | ||
</plist> |
Oops, something went wrong.