I don't like long or complex viewDidLoad() methods. The viewDidLoad() method of a view controller should be short and easy to understand. The tip I am about to share with you helps declutter the viewDidLoad() method of the view controllers in your projects.
Read the post on Cocoacasts.
https://cocoacasts.com/tips-and-trick...