I've got a tableView, with custom cells being filled by NSMutableDictionaries, inside an NSMutableArray.
Now, I'd like to check the
[Thing on location: Building A has problem X]
[ and problem Y ]
[Thing on location: Building B has problem X]
if ((indexPath.row - 1) > -1)
NSString *eerste = [[NSString alloc] initWithFormat:@"%@", [[lijstErrors objectAtIndex:(indexPath.row - 1)] objectForKey:@"Location"]];
NSString *tweede = [[NSString alloc] initWithFormat:@"%@", [incInRow objectForKey:@"Location"]];
NSLog(@"Comparing %@ met %@", eerste, tweede);
No it's called every time a cell is drawn. Set the delegate of the tableView to your instance which hosts the tableview: in most cases it's self.