Skip to content

PromiseKit/Foundation

Repository files navigation

PromiseKit Foundation Extensions Build Status

This project adds promises to the Swift Foundation framework.

We support iOS, tvOS, watchOS, macOS and Linux, Swift 3.2 and above.

CococaPods

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

The extensions are built into PromiseKit.framework thus nothing else is needed.

Carthage

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;

SwiftPM

package.dependencies.append(.package(url: "https://github.com/PromiseKit/Foundation.git", from: "3.0.0"))