Files
Jot/Carthage/Checkouts/PromiseKit/Extensions/UIKit/README.markdown
James Griffin be7b6b5881 Add PromiseKit dependency
- Added PromiseKit dependency
2018-11-15 22:12:39 -04:00

49 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# PromiseKit UIKit Extensions ![Build Status]
This project adds promises to Apples UIKit framework.
This project supports Swift 3.0, 3.1, 3.2 and 4.0; iOS 9, 10 and 11; tvOS 10 and
11; CocoaPods and Carthage; Xcode 8.0, 8.1, 8.2, 8.3 and 9.0.
## CocoaPods
```ruby
pod "PromiseKit/UIKit", "~> 6.0"
```
The extensions are built into `PromiseKit.framework` thus `import PromiseKit` is
all that is needed.
## Carthage
```ruby
github "PromiseKit/UIKit" ~> 3.0
```
The extensions are built into their own framework:
```swift
// swift
import PromiseKit
import PMKUIKit
```
```objc
// objc
@import PromiseKit;
@import PMKUIKit;
```
# `UIImagePickerController`
Due to iOS 10 requiring an entry in your apps `Info.plist` for any usage of `UIImagePickerController` (even if you dont actually call it directly), we have removed UIImagePickerController from the default `UIKit` pod. To use it you must add an additional subspec:
```ruby
pod "PromiseKit/UIImagePickerController"
```
Sorry, but theres not an easier way.
[Build Status]: https://travis-ci.org/PromiseKit/UIKit.svg?branch=master