title: How to get the name of a class of a method as NSString?
body: <p>I need the name of the class that owns a method, as <code>NSString</code>. Example: There's a <code>-fooBar</code> method inside a <code>SomeClass</code>, and that <code>-fooBar</code> method runs some code. This code must print out what class "owns" it, I mean: What class that method belongs to. So I can't hard-type the class name in a <code>NSString</code> because I need that for debugging purposes, determining dynamically the name of the class. Hard to explain. Any idea?</p>