You can watch this episode by subscribing to Cocoacasts Plus.

Building a Weather Application From Scratch

Parsing the JSON Response

In the early days of Swift, working with JSON was clunky and inelegant. Most developers relied on third party libraries that simplified this tedious task. The Swift team was aware of this gap in the Swift standard library and, after focusing on the foundation of the language first, they introduced the Codable protocol in Swift 4. The Codable protocol is a powerful solution that makes working with JSON quick, easy, and intuitive.

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 "Handling Errors and Notifying the User"