samsoffes/sstoolkit — pull request #134 by density (2012-09-12 00:02:13+00:00)
Title: Replace arc4random() with arc4random_uniform() to improve randomness

Using arc4random() % [self count] to choose an object will generate biased results when the array length is not a power of 2. Switching to arc4random_uniform() fixes this.