title: "Expected a type" error pointing to the return type of a method
body: <p>I've attempted to compile, but every time I do, one method throws a strange "expected a type" error. I have a method in the header:</p>
  
  <pre><code>-(ANObject *)generateSomethingForSomethingElse:(NSString *)somethingElse;
  </code></pre>
  
  <p>The error points at the return type for this method. I've imported <code>ANObject</code> into the header using <code>#import "ANObject.h"</code> and <code>ANObject</code> is compiling fine..</p>
  
  <p>Why is this happening?</p>