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

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

pod "PromiseKit/UIKit", "~> 6.0"

The extensions are built into PromiseKit.framework thus import PromiseKit is all that is needed.

Carthage

github "PromiseKit/UIKit" ~> 3.0

The extensions are built into their own framework:

// swift
import PromiseKit
import PMKUIKit
// 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:

pod "PromiseKit/UIImagePickerController"

Sorry, but theres not an easier way.