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.
精彩评论