title: Check if NSRect is null
body: <p>I'm not able to check if a NSRect structure has a value.</p>
  
  <pre><code>if(!myRect)// produce an error
  if(myRect== nil) //this's not a pointer...can't works.
  </code></pre>
  
  <p>Which is the correct way ? </p>