I think you need to use NSNumber for NSArray. If you want to use ints, I think you have to use the c array:
NSInteger myArray[20];
for (int i=0;i<20;i++) {
int num=myArray[i];
}
NSNumber, though, I think the best approach for this language. At the very least, you can do a quick enumeration to shorten the code a bit:
for (NSNumber *n in myArray) {
int num = [n intValue];
}
EDIT:
3 . , , NSNumbers NSArrays:
NSNumber *n = @100;
NSArray *array = @[@100,@50,@10];