nextInt()
Generates and returns a new random integer within the bounds of the distribution.
Declaration
func nextInt() -> IntReturn Value
An integer in the range specified by the distribution’s lowestValue and highestValue properties (inclusive).
Discussion
When using the GKRandomDistribution directly, generated numbers are uniform within this range. Subclasses of GKRandomDistribution can alter the relative probability of generating any particular number within the distribution’s range.