title: How to get the caller's class Name in objective C while using inheritance?
body: <p>I have a base class called BaseClass . Many classes derived from the BaseClass namely SubClass1 , SubClass2 and SubClass3.</p>
  
  <pre><code>@interface  BaseClass: NSObject{
  }
  -(void)configure;
  @end;
  
  @implementation
  -(void)configure{
  NSLog(@"This needs to log from which sub class this method was called");
  }
  @end;
  </code></pre>
  
  <p>The configure method can be called by creating instances of the subclasses or within the implementations of them.</p>
  
  <p>I need to know from which subclass this method was called.</p>
  
  <p>Is this possible?</p>