You can watch this episode by subscribing to Cocoacasts Plus.

Building a Weather Application From Scratch

Writing Unit Tests for the Week View Model

This episode should look and feel familiar if you've watched the previous episodes because we are about to write unit tests for the WeekViewModel and WeekDayViewModel structs. Let's start with the WeekViewModel struct.

Instant and Unlimited Access
to 400+ Cocoacasts Tutorials


$19 / month

Pay Once a Month


$8.25 / month (billed annually)

Pay Once a Year and Save 56%

Next Episode "Fetching Weather Data for the User's Location"