title: How to interpret objective-c type specifier (e.g. returned by method_copyReturnType())?
body: <p>Given I have a type specifier as returned by method_copyReturnType(). In the GNU runtime delivered with the GCC there are various methods to work with such a type specifier like <code>objc_sizeof_type()</code>, <code>objc_alignof_type()</code> and others.</p>
  
  <p>When using the Apple runtime there are no such methods.</p>
  
  <p>How can I interpret a type specifier string (e.g. get the size of a type) using the Apple runtime <strong>without</strong> implementing an if/else or case switch for myself?</p>
  
  <p><strong>[update]</strong></p>
  
  <p>I am not able to use the Apple Foundation.</p>