TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jul 2016 |
Maintained by guangmingzizai.
RefluxCocoa is an implementation of Reflux in Objective-C. To put it simply, it is to introduce a more functional programming style architecture by eschewing MVC like pattern and adopting a single data flow pattern.
╔═════════╗ ╔════════╗ ╔═════════════════╗
║ Actions ║──────>║ Stores ║──────>║ View Components ║
╚═════════╝ ╚════════╝ ╚═════════════════╝
^ │
└──────────────────────────────────────┘
The pattern is composed of actions and data stores, where actions initiate new data to pass through data stores before coming back to the view components again. If a view component has an event that needs to make a change in the application's data stores, they need to do so by signaling to the stores through the actions available.
To run the example project, clone the repo, and run pod install
from the Example directory first.
Minimum iOS Target: iOS7.
RefluxCocoa is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "RefluxCocoa"
RefluxCocoa is developed by my former colleague Liu Yaodong and me(Wang Jianfei).
RefluxCocoa is available under the MIT license. See the LICENSE file for more info.