title: Where to init MutableArray?
body: <p>I've tried to init/alloc it in initWithFrame but then objects wouldn't get added.</p>
  
  <p>It'd only work in this method I'm calling but I call this method each time user refreshes the view so it'd init/alloc hundred times.
  Not sure why it won't just work in initWithFrame.</p>
  
  <p>I need to know the right way to init and add..!</p>
  
  <pre><code>-(void)queryParseMethod {
  
  self.imageFilesArray = nil;
  self.imageFilesArray = [[NSMutableArray alloc]init];
  [self.imageFilesArray addObjectsFromArray:objects];
  
  if (!error) {
  
      for (PFObject *object in objects) {
  
          int index = (int)[self.favArray indexOfObject:[object objectId]];
          [self.imageFilesArray replaceObjectAtIndex:index withObject:object];
  
      }
  
      [self.favCV reloadData];
  }}
  </code></pre>