WWDC 2018 - Swift 4.2 and
With WWDC 2018, Swift 4.2 has introduced new ways to generate random values and access random values from a collection. Included with Xcode 10, there is access to generating random numbers of various types and accessing items from collections.
learningswift.brightdigit.com