When create the new objective-c class UIViewController file.
I want to know which command/ method/ line in ViewController.m file or from other file is execute before it generate the view from nib file.
I only know that viewDidLoad will run first before the nib file.
Is there any thing else?
Thank for helping little noob here.
The only method that is called before your view hierarchy is loaded is the
initWithNibName:bundle:method.Then the first time you access the view controller’s
viewthenibis loaded (via theloadviewmethod) and then theviewDidLoadmethod is called.I hope that this makes it clear.
Ps. Although you could override
loadviewmethod, Apple states that: