Building a Weather Application From Scratch
Writing Unit Tests for the Day View Model
Because a view model isn't or shouldn't be coupled to the user interface, it's easy to write unit tests for a view model. I'd like to illustrate that in this episode by writing a handful of unit tests for the
DayViewModel struct. If you're new to unit testing, then this episode is an excellent start.
Are you ready to step up your game?
Cocoacasts Plus helps Swift and Cocoa developers take their education serious without being overwhelmed.