Instance Method
nextInt(_:)nextInt:nextInt_
Returns a unsigned integer in the range [0, bound) and advances the random number generator.
Declaration
func nextInt(_ bound: UInt32) -> UInt32Declaration
- (uint32_t) nextInt:(uint32_t) bound;Declaration
nextInt_(bound: int) -> intParameters
boundUpper limit (exclusive).