Building a Weather Application From Scratch
Replacing Optionals with Enums and Associated Values
It takes time to become familiar with a new programming language and some features don't always immediately make sense. Enums are a joy to work with in Swift, but it took some time before I found a use for associated values. In this episode, we refactor Rainstorm by taking advantage of enums with associated values. We remove unnecessary optionals and make the code we write more readable.
Purchase Building a Weather Application From Scratch and access it whenever you want and for as long as you want.
Join Cocoacasts Plus and access every 350+ tutorials including Building a Weather Application From Scratch.