title: In Objective-C, given an id, how can I tell what type of object it points to?
body: <p>Objective-C newbie question. Given the following (fictional) code:</p>
  
  <pre><code>id mysteryObject = [anotherObject mysteriousMethod];
  </code></pre>
  
  <p>How can I determine at runtime what class <code>mysteryObject</code> is?</p>