Shuffling is just like buses. You sit about being deterministic for years, and
then all of a sudden, you need some random shuffling on two platforms at once.
As a follow on from my previous post on shuffling AS3 arrays,
here’s the same algorithm implemented as a category addition to
for all your easy array shuffling needs.
To use it, download the method and header files, add them to your project and
them simply include the header file wherever you you want to shuffle anNSMutableArray:
NSMutableArray* array = [NSMutableArray arrayWithObjects: @"Fred", @"Bob", @"Alice"];
Grab it while it’s hot from github: