Shuffling An NSArray

On a recent search for code to shuffle an NSArray, I ran into Bryan Luby’s implementation. This was an interesting find as Bryan’s post also led me to Fisher-Yates shuffle algorithm as well as a thorough assessment on The Danger of Naïveté, both worth a read.

Here are a few more code examples for array shuffling.