Search code examples
iphonecocoa-touchnibxibuiapplicationdelegate

Is there anything like viewDidLoad for the loading of the app's main xib?


As in the one defined with "Main nib file base name" in the app's Info.plist. Should I just use applicationDidFinishLaunching?


Solution

  • Yes, applicationDidFinishLaunching: gets called after the main nib has been loaded.

    Also, according to the documentation (for iPhone OS 3.0):

    It is recommended that you implement application:didFinishLaunchingWithOptions: instead of this method. See the class description for the differences in calling sequences between the two methods.