Initializer

init(minValue:maxValue:)

Creates a new number range.

Declaration

convenience init(minValue: NSNumber, maxValue: NSNumber)

Parameters

minValue

The minimum value of the range.

maxValue

The maximum value of the range.

Return Value

An initialized number range.

See Also

Creating a Number Range

init(minValue: NSNumber)

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

init(maxValue: NSNumber)

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