title: Objective-C header parsing
body: <p>I need to do parsing of some Objective-C headers.</p>
  
  <ul>
  <li>I've tried using <code>Doxygen</code> and parsing the XML output, but it doesn't fully support Objective C headers without comments (it chokes on macros defined in properties, check <a href="https://stackoverflow.com/questions/17537943/doxygen-not-properly-recognizing-properties">Doxygen not properly recognizing properties</a>)</li>
  <li>I've also tried using <code>appledoc</code>, but the XML output is not complete enough (for example, there is no information of inheritance for classes) and it has the same problem with macros on properties.</li>
  <li>I've also tried parsing the output of the library Objective C metadata (using <code>otool</code>), but noticed that the metadata doesn't keep the types on methods (so you get <code>method:(id)param:(id)</code>)</li>
  </ul>
  
  <p>Does anyone know a good tool to do what I want? I'm suspecting <code>clang</code> will help me, but so far the <code>-ast-dump</code> and similar options just tries to generate an AST for a source I don't have (only headers).</p>