FLUX implementation in Objective-C
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
FLUX.xcodeproj
FLUX.xcworkspace
Sources
Tests
docs
fastlane
.gitignore
.jazzy.yaml
.slather.yml
.travis.yml
FLUX.podspec
Gemfile
Gemfile.lock
LICENSE
MIGRATION.md
Podfile
Podfile.lock
README.md

README.md

FLUX

CI Status Coverage Status Version License Platform

FLUX is an architecture pattern initially designed by Facebook.

Overview

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.

Features

  • Unidirectional data flow
  • Lightweight and testable domain layer
  • Asynchronous execution
  • Extendable via middlewares

Documentation

We use Jazzy to autogenerate documentation for FLUX.

You can find documentation inside docs folder of the working copy.

Requirements

  • XCode 7+
  • iOS 8+

Installation

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

pod "FLUX"

Author

License

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