FLUX is an architecture pattern initially designed by Facebook.
Initially FLUX was made to store mainly UI state and work tightly with ReactJS framework which allows to re-render view according to state changes.
In iOS development we are tightly bound to UIKit framework that makes it much harder to use FLUX as it was initially intended. Approach that we recommend is to use FLUX as denormalized and non-relational storage for domain objects and application state.
- Unidirectional data flow
- Lightweight and testable domain layer
- Asynchronous execution
- Extendable via middlewares
We use Jazzy to autogenerate documentation for FLUX.
You can find documentation inside docs
folder of the working copy.
- XCode 7+
- iOS 8+
FLUX is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "FLUX"
FLUX is available under the MIT license. See the LICENSE file for more info.