Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 11th, 2012  |  syntax: None  |  size: 0.24 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Initialization of NSMutableArray in a loop
  2. if([checkinArray count]!=0){
  3.         [checkinArray removeAllObjects];
  4.  }
  5. loop{
  6.     Checkin *checkinsA = [[Checkin alloc] init];
  7.     .....
  8.    [checkinArray addObject:checkinsA];
  9.     [checkinsA release];