This project adds promises to Facebook’s Bolts framework.
Bolts underlies the entire Facbook SDK.
someBoltsTask().then { anyObject in
//…
}
pod "PromiseKit/Bolts" ~> 6.0
The extensions are built into PromiseKit.framework
thus nothing else is needed.
github "PromiseKit/Bolts" ~> 3.0
The extensions are built into their own framework:
// swift
import PromiseKit
import PMKBolts
// objc
@import PromiseKit;
@import PMKBolts;