nextInt()
Generates and returns a new random integer.
Declaration
func nextInt() -> IntReturn Value
A random integer value in the range [INT32_MIN, INT32_MAX].
Discussion
For more information, see GameplayKit Programming Guide.
Generates and returns a new random integer.
func nextInt() -> IntA random integer value in the range [INT32_MIN, INT32_MAX].
For more information, see GameplayKit Programming Guide.