4 ms·
arc4random_uniform
by LinaLauneBaer 12y ago
arc4random_uniform
- mathewsanders 12y agoyou'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...