title: CGRect syntax I haven't seen before
body: <p>I saw the syntax below in some example code and am not sure I understand it.</p>
  
  <pre><code> CGRect imageRect = (CGRect){.size = baseImage.size};
  </code></pre>
  
  <p>Is this simply a shorthand way of initializing a <code>CGRect</code> equivalent to:</p>
  
  <pre><code> CGRect imageRect = CGRectMake(0,0,baseImage.size.width, baseImage.size.height);
  </code></pre>
  
  <p>Is there any benefit to this syntax aside from slightly less typing?</p>