Skip to content

KyleLeneau/swift-mvvm-examples

Repository files navigation

MVVM Examples with Swift Circle CI

Using KnockoutJS examples as a starting point, I hope to show how to use MVVM in various views of an iOS application.

Brief

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).

Lessons

  1. Hello iPhone, simple text box form that responds to text changes and updates a label
  2. Click Counter, tracking dependencies and enabling inputs with signals
  3. Simple List, demonstrates binding to an array or values and enabling buttons based on validation

Dependencies

  • ReactiveCocoa This is the key to binding, signal chaining and other awesome stuff.

Getting started

  1. Clone the repository

  2. Run Carthage update

    carthage update

More Info

About

Examples of MVVM using swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages