for ( tempI = 0; tempI < 10; tempI++ ) { tempJ = 1; NSArray *objectsForArray = [NSArray arrayWithObjects:@\"array[tempI][tempJ]\", @\"array[tempI][tempJ
Try:
for ( int tempI = 0; tempI < 10; tempI++ ) { int tempJ = 1; fl_tempI = float(tempI); NSArray *objectsForArray = [NSArray arrayWithObjects:@"array[fl_tempI][tempJ]", @"array[fl_tempI][tempJ+1]", @"array[fl_tempI][tempJ+2]", nil]; }