You can watch this episode by subscribing to Cocoacasts Plus.

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.

Purchase Course

Purchase Building a Weather Application From Scratch and access it whenever you want and for as long as you want.

Join Cocoacasts Plus

Join Cocoacasts Plus and access every 350+ tutorials including Building a Weather Application From Scratch.

Next Episode "Implementing the Week View Model"