I need to utilize an array of booleans in objective-c. I\'ve got it mostly set up, but the compiler throws a warning at the following statement:
[updated_use
Like Georg said, use a C-array.
BOOL myArray[10]; for (int i = 0; i < 10; i++){ myArray[i] = NO; } if (myArray[2]){ //do things; }
Martijn, "myArray" is the name you use, "array" in georg's example.