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
In order to view this lesson, you must purchase this course.
A very common problem that many newcomers to iOS development experience is <b>Massive View Controller</b>. 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 <b>APIService</b>. 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)
Christophe Bugnon
6 years ago
Govind K Kara
6 years ago
Brian Voong
6 years ago
forsuresh
6 years ago
abhinavjayanthy
6 years ago
Brian Voong
6 years ago
abhinavjayanthy
6 years ago
abhinavjayanthy
6 years ago
Brian Voong
6 years ago
edward
6 years ago
Brian Voong
6 years ago
edward
6 years ago
byrne
6 years ago
Brian Voong
6 years ago
Tokyojogo
6 years ago
Brian Voong
6 years ago
Tokyojogo
6 years ago
Brian Voong
6 years ago
Alpensol
6 years ago
Brian Voong
6 years ago
Alpensol
6 years ago
Brian Voong
6 years ago
mghlm
6 years ago
Please contact admin@letsbuildthatapp.com if you have any issues.
HELP & SUPPORT