From the course: iOS Lean Controllers: 1 Setup, Persistent Data, and Implementation

What are massive view controllers?

- [Instructor] Before we dive into the actual implementation of leaning in massive view controller, I think it's a good idea to learn what exactly is a massive view controller? So massive view controllers are basically controllers that do not follow the single responsibility principle. They do not follow the composition, that do not provide reusability. If you have written code in your view controller, which sets up the database, initializes a database, which creates and uses the user controls and also fetches the records from a persistent storage. It can be from API. It can be from a database. It can be from XML storage, any kind of storage. Then most probably your view controller suffers from massive view controller syndrome. That's the bad news. The good news is that you have actually bought this course, which is going to show you how you can convert your massive view controllers into lean controllers.

Contents