How can I reverse a NSArray in Objective-C?

I need to reverse my NSArray.

As an example:

[1,2,3,4,5] must become: [5,4,3,2,1]

What is the best way to achieve this?

18 Answers
18

Leave a Comment