1

It's clear to me the difference between viewDidLoad, viewDidAppear, etc.

What's not clear is where in the execution of a UIViewController code awakeFromNib stays.

I've found a previous answer about the awakeFromNib method, but it's still not clear to me...

Can you provide the correct order of execution for those methods?

Community
  • 1
  • 1
napolux
  • 15,574
  • 9
  • 51
  • 70
  • 4
    Add log statements in each method an check yourself. Alternatively use the debugger in combination with break points. – dasdom Apr 15 '15 at 20:19
  • possible duplicate of [Looking to understand the iOS UIViewController lifecycle](http://stackoverflow.com/questions/5562938/looking-to-understand-the-ios-uiviewcontroller-lifecycle) – Eran Goldin Apr 15 '15 at 20:26

1 Answers1

0

You can check all this information directly from Apple documentation: https://developer.apple.com/library/ios/featuredarticles/ViewControllerPGforiPhoneOS/ViewLoadingandUnloading/ViewLoadingandUnloading.html I recommend yo u to read It. Hope It helps.

Bisca
  • 6,380
  • 2
  • 19
  • 32