KyleLeneau / swift-mvvm-examples

Examples of MVVM using swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:Swift 98.9%Language:Objective-C 0.6%Language:Makefile 0.4%