I\'m using NSArray/NSMutable array to store different objects. Once all the objects are added, I want to re-arrange them in random order. How can I do it?
Link GameplayKit/GameplayKit.h in your project then
#import
Now you can use the property shuffledArray.
NSArray *randomArray = [yourArray shuffledArray];