SyntaxFix
Write A Post
Hire A Developer
Questions
You could try as well:
let diceRoll = Int(arc4random_uniform(UInt32(6)))
I had to add "UInt32" to make it work.