Hi everyone
I have the following problem: I get an instance of a class passed and want to know the name of the class of this instance. Any guess how to get this?
Thank you very much!
Hi everyone
I have the following problem: I get an instance of a class passed and want to know the name of the class of this instance. Any guess how to get this?
Thank you very much!
if all you want to do is test an object to see if it's a type of a certain Class
BOOL test = [self isKindOfClass:[SomeClass class]];