Swift – View Controller Lifecycle
As you develop iOS apps you will use more and more features of the UIViewController. You will want code to run before the view shows to the user, after it shows and after it disappears. It’s important to understand the UIViewController lifecycle, and the following stages of it: viewDidLoad() viewWillAppear(_ animated: Bool) viewDidAppear(_ animated: Bool) […]