Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

freeme007

macrumors regular
Original poster
Sep 21, 2008
147
0
Hi

I read couple articles about how ioS application life cycle works including the one on Apple's developer site and I'm still confused a bit. So, if anyone know clearly, please help me out. Here's what I know so far:

When the App starts, it looks into the application's information property list and loads the main.m file. Within the main.m file, it creates the UIApplication object and UIApplication delegates. Now what?
 

firewood

macrumors G3
Jul 29, 2003
8,107
1,344
Silicon Valley
For a view-based app, the application delegate appears to load a main window xib (as named in the app's plist, depending on iphone/ipad paradigm) and instantiate the top view and top view controller objects listed in the window xib. Those objects might then call their init methods, as well as include delegates to handle the first events trickling down from the main window (user touches, etc.)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.