As the comment suggests, this method is called by the Objective-C runtime after the Application is instantiated, and is ready to run.
正如注释所建议的,这个方法在Application实例化后且已经准备好运行之时,由Objective - C运行时来调用。
The Objective-C runtime will then try to load that window when your application runs, and will find your application delegate from the setting in that file.
在应用程序启动的时候,Objective-C运行时将会尝试去加载那个文件,并根据这个文件内的设置来查找应用程序委托类。
It's unclear why they made this change; possibly they found that most drivers didn't use the features of Objective-C, or possibly they just wanted to move the Objective-C runtime out of the kernel.
我们不清楚他们为什么做出这样的改变,可能是因为他们发现大部分驱动用不到Objective - c的特性,也可能仅仅是因为他们不想让Objective - C在内核上运行。
So, once you have started your runtime workbench, create a new modeling project and create within it a new blank model called Objective-C Model.emx.
因此,一旦您启动了运行时工作台,建立一个新的模型项目并在其中建立新的空白模型,将其命名为Objective-C Model.emx。
The Objective-C language and runtime.
Objective - C语言及其运行时。
The Objective-C language and runtime.
Objective - C语言及其运行时。
应用推荐