No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
RefluxCocoa
.gitignore
.travis.yml
LICENSE
README.md
RefluxCocoa.podspec
_Pods.xcodeproj

README.md

RefluxCocoa

Version License Platform

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.