RxCombine
SwiftCoroutine
Our great sponsors
RxCombine | SwiftCoroutine | |
---|---|---|
2 | 1 | |
1,018 | 832 | |
0.0% | - | |
0.0 | 0.0 | |
30 days ago | over 2 years ago | |
Swift | 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.
RxCombine
-
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!
SwiftCoroutine
-
How do you escape completion hell?
As a last solution that I am currently working with, you can use SwiftCoroutine, which is a runtime implementation of async/await and some other coroutine primitives. Though that one may break debugger support and also lead to unexpected behavior.
What are some alternatives?
rxswift-to-combine-cheatsheet - RxSwift to Apple’s Combine Cheat Sheet
Threadly - Type-safe thread-local storage in Swift
solver7-csp - CSP like thread management with Swift. I became interested in Swift when I saw that it is becoming compatible with TensorFlow. I reworked an old Java project of mine from 1998 in order to learn how to do some things in Swift.
CombineCocoa - Combine publisher bridges for UIKit
Lottie - An iOS library to natively render After Effects vector animations
PromiseKit - Promises for Swift & ObjC.
DZNEmptyDataSet - A drop-in UITableView/UICollectionView superclass category for showing empty datasets whenever the view has no content to display
Kommander - A lightweight, pure-Swift library for manage the task execution in different threads. Through the definition a simple but powerful concept, Kommand.
Eureka - Elegant iOS form builder in Swift
Throttler - One Line to throttle, debounce and delay: Say Goodbye to Reactive Programming such as RxSwift and Combine.
Futura - Asynchronous Swift made easy. The project was made by Miquido. https://www.miquido.com/
Futures - Lightweight promises for iOS, macOS, tvOS, watchOS, and Linux