This project adds promises to Apple’s Foundation framework.
pod "PromiseKit/Foundation" ~> 4.0
The extensions are built into PromiseKit.framework
thus nothing else is needed.
github "PromiseKit/Foundation" ~> 1.0
The extensions are built into their own framework:
// swift
import PromiseKit
import PMKFoundation
// objc
@import PromiseKit;
@import PMKFoundation;
let package = Package(
dependencies: [
.Target(url: "https://github.com/PromiseKit/Foundation", majorVersion: 1)
]
)