This post is a follow-up to my earlier post about the life cycle of UIViewController. In this post, we’ll look at the logic behind UIView, another class that every iOS developer will inevitably subclass.
When programming in iOS, it’s inevitable that you’ll need to subclass UIViewController. These subclasses contain all the logic that makes your apps look and behave as they should. It’s hard to set up a subclass without knowing which overridden methods will get called and when. To remedy this potential confusion, this post will take a look at the life cycle of a UIViewController.