MVVM Sample is a login use case implementation of the MVVM architecture using ReactiveCocoa 4.
Also if you want to compare both, I've implemented this same case using the VIPER architecture -> VIPER-Sample
It runs on iOS 9+ and requires Xcode 7.3 with Swift 2.2 to build.
Run the Mock Auth backend in localhost.
ruby MockRestServlet.rbUse cocoapods to install the dependencies.
pod install Open the workspace in xCode.
One of the main advantages of the MVVM Architecture is the high testability with a minimal setup, because of the separation of the app logic (ViewModel layer) from presentation (View layer).
Unit tests were written using the BDD frameworks Quick and Nimble.
To run the unit tests simply hit Cmd + U in Xcode.