Object Life Cycle: UIViewController


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.