... 2、iOS开发之深入探讨runtime机制01-类与对象 3、Objective-C runtime之运行时的基本特点(一) 4、Objective-C runtime之消息(二) ...
基于6个网页-相关网页
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在内核上运行。
应用推荐