In the beginning of this year I blogged about how to generate random float and integers. Meanwhile, SE-0202 "Random Unification" got implemented in Swift 4.2 making my additions unnecessary. Let's take a look how to use new API for getting random numbers. Random integers, floats and booleans In my own implementation I was extending range …