News for hackers. Stuff that matters.
Re:Animations in Swift by LinaLauneBaer on Monday August 11, 2014 @11:40AM (#8163695)
arc4random_uniform
Re:Animations in Swift by mathewsanders on Monday August 11, 2014 @11:57AM (#8163781)
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...