RefluxCocoa 0.1.1

RefluxCocoa 0.1.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jul 2016

Maintained by guangmingzizai.



  • 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.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Minimum iOS Target: iOS7.

Installation

RefluxCocoa is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "RefluxCocoa"

Author

RefluxCocoa is developed by my former colleague Liu Yaodong and me(Wang Jianfei).

License

RefluxCocoa is available under the MIT license. See the LICENSE file for more info.