Unidirectional State Management Architecture for Swift
VueFlux
What is VueFlux?
VueFlux is the architecture to manage state with unidirectional data flow for Swift, inspired by Vuex and Flux.
It serves multi store, so that all ViewControllers have designated stores, with rules ensuring that the states can only be mutated in a predictable fashion.
The stores also can receives an action dispatched globally.
That makes ViewControllers be freed from dependencies among them. And, a shared state in an application is also supported by a shared instance of the store.
Although VueFlux makes your projects more productive and codes more readable, it also comes with the cost of more concepts and boilerplates.
If your project is small-scale, you will most likely be fine without VueFlux.
However, as the scale of your project becomes larger, VueFlux will be the best choice to handle the complicated data flow.
VueFlux is receives state changes by efficient reactive system. VueFluxReactive is ยต reactive framework compatible with this architecture.
Arbitrary third party reactive frameworks (e.g. RxSwift, ReactiveSwift, etc) can also be used with VueFlux.
Overview
- Pricing: Free
- Resource Link: https://github.com/ra1028/VueFlux
- Resource Maker: Ryo Aoyama
- Mobile Platform Destination: iOS Apps
- Mobile Platform Support: Native iOS
- Programming Languages: Swift
- iOS Versions Supported: iOS 9.0+, iOS 10.0+, iOS 11.0+, iOS 12.0+
- CocoaPods: VueFluxReactive
- Carthage: ra1028/VueFlux
Related resources
AndroidSnooper
Library to record the network calls through the interceptor mechanism of the http clients
Imaginary
Remote images, as easy as one, two, three
JetDB
Super sonic shared preferences