Last active
February 18, 2016 10:39
-
-
Save louisfisch/21db728578248734c316 to your computer and use it in GitHub Desktop.
Generates random float between 0 and 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// dependency : import UIKit | |
Float(Float(arc4random()) / Float(UINT32_MAX)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment