title: Getting CGRect from array
body: <p>For my application I am trying to store <code>CGRect</code> objects into an <code>NSMutableArray</code>. It is loading well and printing in the log statement, but trying to take the <code>CGRect</code>s from the array shows an error. Here is a code snippet: </p>
  
  <pre><code>CGRect lineRact = CGRectMake([[attributeDict objectForKey:@"x"] floatValue], 
    [[attributeDict objectForKey:@"y"] floatValue], 
    [[attributeDict objectForKey:@"width"] floatValue], 
    [[attributeDict objectForKey:@"height"] floatValue]);
  
    [lineRactangle addObject:NSStringFromCGRect(lineRact)];
  </code></pre>
  
  <p>How can I get the rects back from the array?</p>