Search code examples
iosmacosnsmutablearray

Reverse NSMutableArray


What is the best/correct way to reverse an NSMutableArray?


Solution

  • themutablearray=[[[themutablearray reverseObjectEnumerator] allObjects] mutableCopy];