Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 17 lines (12 sloc) 0.324 kB
bba7d18 Improve efficiency of shuffledArray to O(n). Add shuffle method to NS…
Justin Prieto authored
1 /**
2 Provides extensions to `NSMutableArray` for various common tasks.
3 */
4 @interface NSMutableArray (SSToolkitAdditions)
5
6 ///--------------------------
7 /// @name Changing the Array
8 ///--------------------------
9
10 /**
11 Shuffles the elements of this array in-place using the Fisher-Yates algorithm
12
13 */
14 - (void)shuffle;
15
16 @end
Something went wrong with that request. Please try again.