Using KnockoutJS examples as a starting point, I hope to show how to use MVVM in various views of an iOS application.
Most of the view code that I am going to write will be written in code so that the concepts are easily digestable. No need to consult a storyboard (with the exception of the window and root view controller).
- Hello iPhone, simple text box form that responds to text changes and updates a label
- Click Counter, tracking dependencies and enabling inputs with signals
- Simple List, demonstrates binding to an array or values and enabling buttons based on validation
- ReactiveCocoa This is the key to binding, signal chaining and other awesome stuff.
-
Clone the repository
-
Run Carthage update
carthage update