SyntaxFix
Write A Post
Hire A Developer
Questions
You can do it the same way that you would in C:
let randomNumber = arc4random()
randomNumber is inferred to be of type UInt32 (a 32-bit unsigned integer)
randomNumber
UInt32