PromiseKit Foundation Extensions
This project adds promises to Apple’s Foundation framework.
CococaPods
pod "PromiseKit/Foundation" ~> 4.0
The extensions are built into PromiseKit.framework
thus nothing else is needed.
Carthage
github "PromiseKit/Foundation" ~> 1.0
The extensions are built into their own framework:
// swift
import PromiseKit
import PMKFoundation
// objc
@import PromiseKit;
@import PMKFoundation;
SwiftPM
It would be nice to have this module available to SwiftPM, however we depend on OMGHTTPURLRQ which is Objective-C.