How does one generate a random number in Apple's Swift language?
Asked 07 September, 2021
Viewed 2.9K times
  • 54
Votes

I realize the Swift book provided an implementation of a random number generator. Is the best practice to copy and paste this implementation in one's own program? Or is there a library that does this that we can use now?

25 Answer