This project adds promises to the Swift Foundation framework.
We support iOS, tvOS, watchOS, macOS and Linux, Swift 3.2 and above.
pod "PromiseKit/Foundation", "~> 6.0"
The extensions are built into PromiseKit.framework
thus nothing else is
needed.
Note we can no longer support Swift 3 with Carthage due to Xcode 10.2 dropping it and our only being able to provide a single
.xcodeproj
.
github "PromiseKit/Foundation" ~> 3.0
The extensions are built into their own framework:
// swift
import PromiseKit
import PMKFoundation
// objc
@import PromiseKit;
@import PMKFoundation;
package.dependencies.append(.package(url: "https://github.com/PromiseKit/Foundation.git", from: "3.0.0"))