rxswift-to-combine-cheatsheet
CombineCocoa
Our great sponsors
rxswift-to-combine-cheatsheet | CombineCocoa | |
---|---|---|
2 | 3 | |
2,001 | 1,603 | |
0.9% | 1.1% | |
0.0 | 0.0 | |
about 1 year ago | about 1 month ago | |
Ruby | Swift | |
MIT License | MIT License |
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.
rxswift-to-combine-cheatsheet
-
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.
You might enjoy perusing through this then: RxSwift to Combine Cheatsheet.
-
Combine from RxSwift - Highlights for smooth adaption
CombineCommunity/rxswift-to-combine-cheatsheet
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.
What are some alternatives?
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.
RxCombine - Bi-directional type bridging between RxSwift and Apple's Combine framework
RxRealm - RxSwift extension for RealmSwift's types
Verge - 🟣 A robust Swift state-management framework designed for complex applications, featuring an integrated ORM for efficient data handling.
Moya - Network abstraction layer written in Swift.
open-source-mac-os-apps - 🚀 Awesome list of open source applications for macOS. https://t.me/s/opensourcemacosapps
Eureka - Elegant iOS form builder in Swift
AOperation - A Wrapper on NSOperation, which Makes using of NSOperation More Efficient
motion - Reactive frontend UI components for Rails in pure Ruby
MessageKit - A community-driven replacement for JSQMessagesViewController
spotifyshuffler - iOS-application communicating with the Spotify-API, written in a MVVM-architecture, showcases usages of Combine and SwiftUI.