Login required for access
In order to watch this lesson, you'll need to login to the website.
Decodable Podcasts and URLEncoding Requests
Podcasts
With the data coming back to us from the iTunes API formatted in JSON, we'll have to transform it into Podcast model objects in our program. Luckily for us, this process has been streamlined with the introduction of the Decodable protocol, making is super easy to parse JSON objects into our own. In addition, we'll look into a bug where search for anything with a space results in a bad request. To solve this issue, we'll need to use a more powerful Alamofire request that allows us to perform some URLEncoding on our url. Enjoy.

Comments (11)
4 years ago
4 years ago
4 years ago
5 years ago
6 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
HELP & SUPPORT