I have an array called binaryArray.
Initalised with NSMutableArray *binaryArray = [[NSMutableArray alloc] init];
I add 0's or 1's into the array using [binaryArray addObject:[NSNumber numberWithInt:1]];
I then reference this array in a tableView with
id resultBinary = [binaryArray objectAtIndex:indexPath.item];
if (resultBinary == 0) {
...
} else {
...
}
However, even if resultBinary
is 0, it never hits