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.
Source Compatibility
The source on master
assumes Swift 2.1
Framework Installation
Carthage
github "thoughtbot/Delta"
Then run carthage update
.
Follow the current instructions in Carthage’s README for up to date installation instructions.
CocoaPods
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.
Git Submodules
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.
Usage
- Getting Started
- Using Reactive Extensions
- Example Application using Delta and ReactiveCocoa
- API Documentation
Contributing
See the CONTRIBUTING document. Thank you, contributors!
License
Delta is Copyright © 2015 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.
About
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.