开发者

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

开发者 https://www.devze.com 2023-01-14 05:33 出处:网络
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 act

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

精彩评论

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