You can watch this episode by subscribing to Cocoacasts Plus.

Mastering MVVM With Swift

Ready, Set, Test

Because we moved a fair bit of logic from the view controllers of the project into the view models, we gained an important advantage, improved testability. As I mentioned earlier, unit testing view controllers is known to be difficult. View models, however, are easy to test. And that's what I'll show you in the next few episodes.

Cocoacasts Plus

Are you ready to step up your game?

Cocoacasts Plus helps Swift and Cocoa developers take their education serious without being overwhelmed.

Watch Every Tutorial With Cocoacasts Plus
Next Episode "Testing Your First View Model"