My intent is to use nextInt(upperBound: Int)
let randomInt: (Int) -> Int = GKRandomSource.sharedRandom().nextInt
var myNumber = randomInt(10)
Produce error: Playground execution failed: error: ambiguous reference to member 'nextInt()'
Why?
Swift 3, xCode 8 beta 6