You can watch this episode by subscribing to Cocoacasts Plus.
Building a Weather Application From Scratch
Adding Flexibility With Protocols
Building a Weather Application From Scratch
Download Your Free Copy of
The Missing Manual
for Swift Development
The Missing Manual
for Swift Development
The Guide I Wish I Had When I Started Out
Join 20,000+ Developers Learning About Swift Development
Download Your Free CopyAt 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.
Instant and Unlimited Access
to 400+ Cocoacasts Tutorials
Monthly
$19 / month
Pay Once a Month
30 Day Money Back Guarantee
Yearly
$8.25 / month (billed annually)
Pay Once a Year and Save $129
30 Day Money Back Guarantee
Access to All Books