I am trying to generate a Random number of 8 digits (eg: 12345676) that show the number like this (12 34 56 76). A number of two digits, so a blank space, a number of two digits and other blank space... I want to create it in Swift 2 and Xcode. THANKS,
I am using the following code to create a random number:
let RandomValue = arc4random_uniform(100000000)
Numer.text=String (RandomValue)
I am using the following code to create a random number:
let RandomValue = arc4random_uniform(100000000)
Numer.text=String (RandomValue)