Login required for access
In order to watch this lesson, you'll need to login to the website.
Fixing Massive View Controller with Code Refactor
Podcasts
A very common problem that many newcomers to iOS development experience is Massive View Controller. This issue stems from developers writing too much code inside of our view controller files, typically code that can be separated into its own classes. For example, in our previous lesson, we built out the Alamofire networking code directly inside of PodcastsSearchController which wasn't exactly the best place to put it. In today's lesson, let's go ahead and perform some code refactor to move all network activity to an isolated class called APIService. This class's sole responsibility will be to perform network fetches for podcasts, episodes, and later downloading entire files for offline playback. Enjoy.

Comments (9)
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
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
HELP & SUPPORT