Initializer

init(maxValue:)

Creates a one-sided number range with a maximum value.

Declaration

convenience init(maxValue: NSNumber)

Parameters

maxValue

The maximum value of the range.

Return Value

An initialized number range, with the minimum value set to an arbitrarily large negative value.

See Also

Creating a Number Range

init(minValue: NSNumber)

Creates an one-sided number range with a minimum value.