PromiseKit
Promises for Swift & ObjC. (by mxcl)
OpenCombine
Open source implementation of Apple's Combine framework for processing values over time. (by OpenCombine)
Our great sponsors
PromiseKit | OpenCombine | |
---|---|---|
4 | 5 | |
14,180 | 2,640 | |
- | 1.0% | |
4.4 | 4.1 | |
18 days ago | 3 months ago | |
Swift | Swift | |
MIT License | MIT License |
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.
OpenCombine
Posts with mentions or reviews of OpenCombine.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-08.
- How to use OpenCombine framework with Android Studio
-
Combine: Why do you thinkPassthroughSubject is a class?
The OpenCombine implementation of PassthroughSubject does use a lock, and perhaps the objects needed to be a class to make sure that lock didn't get moved/duplicated.
-
Any good source on how to understand Combine framework? I'm really having a hard time grasping its concepts.
I have three books on the topic but don't think any of them are that wonderful. One thing that helped a little bit was reading through the OpenCombine source.
- OpenCombine: Open-source implementation of Apple's Combine
-
How would you model this situation where I want to use a custom property wrapper but also want @Published functionality?
Here is an open-source implementation of the @Published property wrapper, it could put you on the right track for getting the same functionality with your @UserDefault wrapper: https://github.com/OpenCombine/OpenCombine/blob/master/Sources/OpenCombine/Published.swift
What are some alternatives?
When comparing PromiseKit and OpenCombine you can also consider the following projects:
RxSwift - Reactive Programming in Swift
BrightFutures - Write great asynchronous code in Swift using futures and promises
ReSwift - Unidirectional Data Flow in Swift - Inspired by Redux
Bolts - Bolts is a collection of low-level libraries designed to make developing mobile apps easier.
ReactiveCocoa - Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.
FutureKit - A Swift based Future/Promises Library for IOS and OS X.
ReactKit - Swift Reactive Programming.
Hydra - ⚡️ Lightweight full-featured Promises, Async & Await Library in Swift
SignalKit - SignalKit is a reactive Swift framework with focus on clean and readable API.
Katana - Swift Apps in a Swoosh! A modern framework for creating iOS apps, inspired by Redux.