How does iphone application life cycle works in terms of development? -


here's understand in terms of high level view.

  1. user launches application
  2. load mainwindow.xib
  3. uiapplication initialized
  4. waiting events
  5. execute events
  6. exit application

my questions info.plist, main.m,*appdelegate* , viewcontroller.xib files fit in above sequence or called in terms of sequence?

have nice day!

user launches application means int main(int argc, char *argv[]) in main.m invoked.

everything else happens result of main method, particularly call uiapplicationmain.

from uiapplicationmain docs

this function instantiates application object principal class , and instantiates delegate (if any) given class , sets delegate application. sets main event loop, including application’s run loop, , begins processing events. if application’s info.plist file specifies main nib file loaded, including nsmainnibfile key , valid nib file name value, function loads nib file.

it's explained there.


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

c# - how to write client side events functions for the combobox items -

ssh client with paramiko (python) -