Objective-C有3个动态特性1,动态类型Dynamic typing—determining the class of an object at runtime运行时决定对象类型2,动态绑定Dynamic binding—determining the method to invoke at runtime运行时决定方法调用3,动态加载Dynamic loading—adding new modules to a program at runtime运行时加载新模块如何理解Objective-C的3这个动态特性呢?首先,动态类型,简单点说就是 id 类型,可以理解为通用对象类型,一旦被 Read More
posted @ 2011-10-11 12:36
javawebsoa
Views(201)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号