Archive of stories published by Pulse

Moving to Model-View-Intent (MVI) using ReactorKit on iOS

I tried my hand at MVI after watching this talk by Jake Wharton. MVI is a nice upgrade to a lot of my existing MVVM code.

Below, you can see a typical view model I would write in MVVM for a screen that…


Unit Testing in iOS using ReactorKit, Quick & Nimble, RxBlocking, Swift 4.1

Getting Started

We will be using RxBlocking to verify the state of your Reactor (ViewModel). We will also use Stubber to mock our network requests. Finally, your…