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. How to get this?
NSStringFromClass([instance class]) should do the trick.
NSStringFromClass([instance class])