I am trying to get a string name of a class from the class object itself.
// For instance
[NSArray className]; // @"NSArray"
I have found object_getClassName(id obj)
but that requires an instance be passed to it, and in my case that is needless work.
So how can I get a string from a class object, and not an instance?
NSStringFromClass
implemented? Is it more performant to store the class name in astatic NSString
variable? – Obaza