No, you do not need to write more complex code to put it in the correct order. The reverseObjectEnumerator handler will work fine, it is only slightly slower. If performance is a big issue, then any of the snippets below will work well (the faster the while loop)
// Assuming 'array' is your NSMutableArray int i = [array count]; while(i--) { Object *current = [array objectAtIndex:i]; // Mess around with current }
This will start you at level 450 and end at 0. You can also do this with a for loop, although you need to make sure that you either start at index 449 or do something like
for(int i = [array count]; i > 0 ; i--) { Object *curreyt = [array objectAtIndex:i-1];
source share