Locksmith
RxSwift
Our great sponsors
Locksmith | RxSwift | |
---|---|---|
1 | 9 | |
2,921 | 24,125 | |
- | 0.3% | |
0.0 | 5.9 | |
6 days ago | 1 day 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.
Locksmith
-
Awesome macOS Libraries List
Locksmith - A powerful, protocol-oriented library for working with the keychain in Swift. Language: Swift.
RxSwift
-
For UIKit apps, what is best practice for VC listening for updates from a service?
I use RxSwift/RxCocoa and The Binder Architecture. That way View Controllers always show the most recent data from the service.
-
Awesome macOS Libraries List
RxSwift - Reactive Programming in Swift. Language: Swift.
-
Xcode double segue
I do this with RxSwift and my CLE library. Using those you can do something like this:
-
DispatchGroup in Swift
We have defined what async code is, and two basic issues we could have when working with it: running tasks serially and in parallel. For running tasks in parallel we saw that DispatchGroup can be a simple solution for that. I will recommend using a library for this though. What I taught you here is basic async knowledge, but in real world scenarios, this won't be this straightforward, so using a battle tested library is always an advantage when working in production. I personally recommend using Apple's Combine if you can (it is supported in iOS 13 and above) or using RxSwift otherwise Finally, I can't finish this article without mentioning async-await. With async-await, probably all of this discussion will be a thing of the past. It lets us write async code that can be written like sync code. You can see the proposal (already implemented and that will be released in the next version of swift) here, and even try it in your code following a tutorial like this one.
What are some alternatives?
ReSwift - Unidirectional Data Flow in Swift - Inspired by Redux
PromiseKit - Promises for Swift & ObjC.
Bond - A Swift binding framework
ReactiveKit - A Swift Reactive Programming Kit
ReactiveSwift - Streams of values over time
ReactiveCocoa - Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.
SwiftEventBus - A publish/subscribe EventBus optimized for iOS
KeychainAccess - Simple Swift wrapper for Keychain that works on iOS, watchOS, tvOS and macOS.
OpenCombine - Open source implementation of Apple's Combine framework for processing values over time.
SwiftKeychainWrapper - A simple wrapper for the iOS Keychain to allow you to use it in a similar fashion to User Defaults. Written in Swift.
keychain-swift - Helper functions for saving text in Keychain securely for iOS, OS X, tvOS and watchOS.
SSKeychain