PromiseKit
Promises for Swift & ObjC. (by mxcl)
promises
Promises is a modern framework that provides a synchronization construct for Swift and Objective-C. (by google)
Our great sponsors
PromiseKit | promises | |
---|---|---|
4 | 2 | |
14,181 | 3,780 | |
- | 0.2% | |
4.4 | 7.2 | |
21 days ago | about 1 month ago | |
Swift | Objective-C | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PromiseKit
Posts with mentions or reviews of PromiseKit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-06.
-
What do you use for new projects? RxSwift or Combine
Do you use PromiseKit?
-
Timing problems (async, getting data from Firestore DB)
I use PromiseKit to handle async codes. It's really easy to use for basic uses like this
-
DispatchGroup in Swift
The most typical way to solve this problem is by using Combine's Future or PromiseKit's Promise, or by using RxSwift's flatMap. If you're interested on how this works under the hood, I plan to write another article for this case, but for now you can check my code for a simple Promise in this gist, or check this quite old but incredibly mind blowing talk from Javi Soto.
-
How do you escape completion hell?
Besides that, you can use a promise library, like PromiseKit.
promises
Posts with mentions or reviews of promises.
We have used some of these posts to build our list of alternatives
and similar projects.
- iOS 16 String Error Conformance
-
After Swift 5.5 is released, should you focus on learning & using Combine or async/await?
I've been learning Combine to replace Promises (https://github.com/google/promises), but I'm not sure if it'd be better, whatever that may mean, to focus on async/await.
What are some alternatives?
When comparing PromiseKit and promises you can also consider the following projects:
RxSwift - Reactive Programming in Swift
Hydra - ⚡️ Lightweight full-featured Promises, Async & Await Library in Swift
OpenCombine - Open source implementation of Apple's Combine framework for processing values over time.
Bolts-Swift - Bolts is a collection of low-level libraries designed to make developing mobile apps easier.
BrightFutures - Write great asynchronous code in Swift using futures and promises
FutureKit - A Swift based Future/Promises Library for IOS and OS X.
Bolts - Bolts is a collection of low-level libraries designed to make developing mobile apps easier.
then🎬 - :clapper: Tame async code with battle-tested promises
signals-ios - Typeful eventing