Have updated to Xcode 7, which has Swift 2. I am creating an app. I need to generate random numbers. In Swift, there used to be arc4random(). But in Swift 2, arc4random() is not there. Instead, I am getting:
arc4random_addrandom(<#T##UnsafeMutablePointer<UInt8>#>, <#T##Int32#>)
arc4random_stir()
arc4random_buf(<#T##UnsafeMutablePointer<Void>#>, <#T##Int#>)
How do I now generate random numbers? Any help would be appreciated a lot.