I have a chunk of code that dose not seem to work because of expected expression error.
NSMutableArray *worldData =[[NSMutableArray alloc] initWithArray:@[
@[ @1, @2, @3, @4,@5,@6],
@[ @1, @2, @3, @4,@5,@6],
@[ @1, @2, @3, @4,@5,@6],
@[ @1, @2, @3, @4,@5,@6],
]];
int *x = 1;
if ( int 1 == (worldData objectAtIndex:1)){
UIImage *block31 = [UIImage imageNamed:
@"grass2.png"];
}
}