clean-swift.com
How to slim down your viewDidLoad() method - Clean Swift
You’ve probably seen a bloated viewDidLoad() method that’s doing eight different things such as: Fetch data over the network Display the data in the table view Update the contents in Core Data Upload photos from camera or albums Style table view cells with complex subviews Execute different branches depending on whether the user is logged...
Raymond