You can watch this episode by subscribing to Cocoacasts Plus.

Building a Weather Application From Scratch

Adding Flexibility With Protocols

At the end of the previous episode, I mentioned that I'm not quite happy yet with the implementation of the RootViewModel class. It passes an instance of the DarkSkyResponse struct to the RootViewController class via a completion handler. The RootViewController class still knows too much about the weather data and its origin.

Cocoacasts Plus

Are you ready to step up your game?

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

Next Episode "Creating the Day and Week View Models"