title: Calling a static method on a class
body: <p>Given a method like the one below, that returns a Class...</p>
  
  <pre><code>-(Class)getClass
  {
      return [MyAwesomeClass class];
  }
  </code></pre>
  
  <p>...how do I call a static method on that class? I tried this, but it didn't work...</p>
  
  <pre><code>Class theClass = [anInstance getClass];
  [theClass someStaticMethod];
  </code></pre>
  
  <p>How should I call a static method on <code>theClass</code>?</p>
  
  <p>Edit to add:
  It seems I was doing the right thing, and something else was causing the crash. Now I need to figure out how to get rid of the warning that the method <code>someStaticMethod</code> isn't found. What should I cast <code>theClass</code> to?</p>