title: Add objects to NSMutableArray
body: <p>I'm trying to add objects to NSMutableArray (categoriasArray), but its not done by the iterator:</p>
  
  <pre><code>@synthesize categoriasArray;
  
  for (int i = 0; i &lt; [categories count]; i++) {
  
          categoria *cat = [[categoria alloc] initWithDictionary:[categories objectAtIndex:i]]; 
          [self.categoriasArray addObject:cat]; 
          cat=nil;
  
      }
  </code></pre>
  
  <p>After the for iterator, categoriasArray has 0 objects.</p>
  
  <p>Many thanks</p>