Why NSClassFromString(@"Object")
returns Object class?
When I try to ignore it using respondsToSelector
: , i get
NSForwarding: warning: object 0x325ef24 of class 'Object' does not implement methodSignatureForSelector:
-- trouble ahead
NSForwarding: warning: object 0x325ef24 of class 'Object' does not implement doesNotRecognizeSelector:
-- abort
I can insert isEqualToString
for skipping @"Object"
string, but is it an issue or not?
Update:
"Object" is really a class. It have 5 possible selectors: initialize, retain, release, autorelease, class.
It can't be allocated.