Word of Runtime 2

Forwarding methods (as described in Message Forwarding) and dynamic method resolution are, largely, orthogonal.

...

If you implement resolveInstanceMethod: but want particular selectors to actually be forwarded via the forwarding mechanism, you return NO for those selectors.

...

The new code is incorporated into the program and treated identically to classes and categories loaded at the start.

...

For example, the various modules in the System Preferences application are dynamically loaded.

...

Others can write modules that your program loads at runtime—much as Interface Builder loads custom palettes and the OS X System Preferences application loads custom preference modules\

...

They contribute to it in ways that you permit but could not have anticipated or defined yourself. You provide the framework, but others provide the code

...

See the NSBundle class specification in the Foundation framework reference for information on the NSBundle class and its use.

...

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 14,605评论 5 6
  • 在很小的时候,我就很好奇死亡到底是怎么一回事。活着的人没有死过,哪里有答案呢?这世界上,什么都可以去试,但是不能试...
    别来丨阅读 4,556评论 1 1
  • 自五一九华山一游后,便笃定自己需要休整一下了。心中多少有些许的委屈吧,在山中酒家老板说我彪悍的那一瞬,在拐过险峻山...
    啾啾fing阅读 2,629评论 0 1
  • 今天傍晚,在一条路上闲逛,瞥见一家精致的服装店,于是钻了进去。店里卖的是标牌candy eye的衣服,有几件是自己...
    绽蕊向阳阅读 1,274评论 0 2
  • 来这已经有8天了,每天都坐公车兜兜转转透着窗,打量这个城市每一条街,每一个人.对这里我是陌生的,不知道站点,不知道...
    莫莫人未央阅读 1,508评论 0 0

友情链接更多精彩内容