Created
June 19, 2017 08:43
-
-
Save DisappearPing/535bac290faf312b3021a91e11314f90 to your computer and use it in GitHub Desktop.
Swift 3 random int
This file contains 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
let maxInt = 9 | |
let randomFrom0ToMaxInt = arc4random_uniform(maxInt) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment