title: Unknown Type Name CGRect in function(not method) declaration
body: <p>I am trying to declare a function in an <code>NSObject</code> type class to be called for some core graphics drawing.  How do you properly declare a function in objective c?<br>
  I'm not doing anything complicated, something like...</p>
  
  <p>in <strong>.h</strong></p>
  
  <pre><code>void drawShape(CGRect rect);
  </code></pre>
  
  <p>however this throws an  <code>unknown type name 'CGRect'</code> error.  And I dont know why being that its in the <code>applicationservices.h</code></p>