3 ms·
you're right, in my example arc4random_uniform works perfectly and unlike rand() you don't have to seed. delay = NSTimeInterval(arc4random_uniform(900)+100) /
by mathewsanders 12y ago
you're right, in my example arc4random_uniform works perfectly and unlike rand() you don't have to seed.
delay = NSTimeInterval(arc4random_uniform(900)+100) / 1000
Not sure why I didn't do that in the first place...