CombineCocoa
Combine publisher bridges for UIKit (by CombineCommunity)
RxCombine
Bi-directional type bridging between RxSwift and Apple's Combine framework (by CombineCommunity)
Our great sponsors
CombineCocoa | RxCombine | |
---|---|---|
3 | 2 | |
1,607 | 1,021 | |
1.7% | 0.3% | |
0.0 | 0.0 | |
about 2 months ago | 8 days 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.
CombineCocoa
Posts with mentions or reviews of CombineCocoa.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-27.
-
Is Combine the best way of keeping UI updated in UIKit?
There is also CombineCocoa library with couple of bindings for UIKit https://github.com/CombineCommunity/CombineCocoa
-
Textfield IBAction vs delegate
There is a CombineCocoa library available. I haven't use Combine much yet mainly because until recently, I had to support iOS versions previous to 13 and even now, there are several reactive operators that I use extensively that don't exist in Combine. CombineExt is slowly filling in the gaps though.
-
Combine from RxSwift - Highlights for smooth adaption
Backpressure is an advanced topic and as Apple keeps their implementations of publishers and subscribers private, the complexity of this management is hidden from developers. Understanding the principle of backpressure makes customization for publishers and subscribers possible. One particular use case for this is CombineCocoa by CombineCommunity, which makes integration of Combine when using UIControls much more convenient. However, Apple strongly encourages that developers use the built-in convenience publishers and subjects instead of implementing custom ones, so it is important to look for simple solutions before tempting to overengineer to avoid bringing complexity and potential bugs to your projects.
RxCombine
Posts with mentions or reviews of RxCombine.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-25.
-
I recently started looking more into the Combine framework. I found these Interactive Marble diagrams of Rx Observables and wanted to share them. Unfortunately, the operators are not always the same for Combine but it is still good fun. Not sure how difficult it would be to replicate this.
The sad thing to notice is how many of the operators in RxSwift have no Combine equivalent. Fortunately, there is the RxCombine library so you can freely mix the two.
-
Combine from RxSwift - Highlights for smooth adaption
Since Combine only supports iOS 13 onwards, it may be a bit early for most of current projects to adopt. Nevertheless, it’s never too soon to learn new tech and start experimenting with it to get yourself comfortable and “relevant”. The framework itself is still under development and improvement, so don’t forget to check back in future WWDCs for any cool new updates. I hope this article inspires you to dive deeper and learn more about Combine. I would like to give my thanks to Donny Wals for his book Practical Combine, as well as all the resources listed in the References section for making this article possible. In the meantime, you can also check out RxCombine to discover the possiblities of bridging between the two frameworks. Have fun!
What are some alternatives?
When comparing CombineCocoa and RxCombine you can also consider the following projects:
CombineExt - CombineExt provides a collection of operators, publishers and utilities for Combine, that are not provided by Apple themselves, but are common in other Reactive Frameworks and standards.
rxswift-to-combine-cheatsheet - RxSwift to Apple’s Combine Cheat Sheet
OpenCombine - Open source implementation of Apple's Combine framework for processing values over time.
Moya - Network abstraction layer written in Swift.
RxWebSocket - Reactive WebSockets