iPhone应用程序启动时的启动/初始化过程是什么?

时间:2009-09-03 01:41:30

标签: iphone objective-c initialization

我会详细说明如下:

实例化/初始化不同对象和nib文件的顺序是什么?

我的理解如下:

1) UIMainApplication function loads the main .nib file specified in info.plist.
2) This .nib file instantiates the Delegate object.
3) When the appDidFinishLoading method runs, it generally initializes the UIViewController object.

通常,.nib文件实例化连接到它的对象,并且对象实例化/加载.nib文件,它们具有IBOutlet。

如果这太复杂而无法在此解释,请指出一篇合适的文章。

感谢。

1 个答案:

答案 0 :(得分:1)

您的摘要对我来说很合适 - 您在寻找什么样的细节?

相关问题