开发者

iPhone Difference between [(id)Object class] and object_getClassName(id Object)

can someone tell me what the difference is between [(id)Object class] and object_getClassName(id O开发者_JAVA百科bject) and when and why you would prefer one over the other?


The former gives you the actual class while the latter gives you the name of the class as a string.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜