TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | Custom |
ReleasedLast Release | Jun 2016 |
Maintained by congncif.
Depends on: | |
ReactiveCocoa | >= 0 |
JSONModel | ~> 1.1 |
A Flow is a task, it start from fetching data, transforming data & finally refreshing UI if needed.
In FIDataFlow, a IntegrateController will hold processing & start a serial flows.
IntegrateController include LogicController for fetching data, pre-processing data and DataController for transforming data, that is sent from LogicController.
When a flow is started, these blocks of IntegrateController are performed:
To implement your flow, custom Logic&Data Controller.
prepareSignalWithParameters:completion:compeltion
tranformDataIfNeed:error:
- (NSString*)classNameForReturnData{
return @"YourJSONModelClassName";
}
setup runningType for IntegrateController
More features: multiple logics in FIIntegrateController, transform data, .... -> Contact me!
To run the example project, clone the repo, and run pod install
from the Example directory first.
FIDataFlowArchitecture is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "FIDataFlowArchitectureNew"
NGUYEN CHI CONG, [email protected]
FIDataFlowArchitecture is available under the MIT license. See the LICENSE file for more info.