阅读背景:

@dynamic关键字的作用

来源:互联网 
先引用一段apple的解释:

  @dynamic

  You use the@dynamic keyword to tell the compiler that you will fulfill the API contract implied by a property either by providing method implementations directly or at runtime using other mechanisms such as dynamic loading of code or dynamic method resolution. It suppresses the warnings that the compiler would otherwise generate if it can"t find suitable implementations. You should only use it if you know that the methods will be available at runtime.   You use t



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: