Managing state is hard. Delta aims to make it simple.
Delta takes an app that has custom state management spread throughout all the VCs and simplifies it by providing a simple interface to change state and subscribe to its changes.
It can be used standalone or with your choice of reactive framework plugged in. We recommend using a reactive framework to get the most value.
The source on master
assumes Swift 2.1
github "thoughtbot/Delta"
Then run carthage update
.
Follow the current instructions in Carthage's README for up to date installation instructions.
Add the following to your Podfile:
pod 'Delta', :git => "https://github.com/thoughtbot/Delta.git"
You also need to make sure you're opting into using frameworks:
use_frameworks!
Then run pod install
with CocoaPods 0.36 or newer.
Add this repo as a submodule, and add the project file to your workspace. You
can then link against Delta.framework
in your application target.
- Getting Started
- Using Reactive Extensions
- Example Application using Delta and ReactiveCocoa
- API Documentation
See the CONTRIBUTING document. Thank you, contributors!
Delta is Copyright (c) 2015 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.
Delta is maintained by Jake Craige.
Delta is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.
We love open source software! See our other projects or hire us to help build your product.