Type Method

rangeWithLowerLimit:upperLimit:

Creates and initializes a new range object.

Declaration

+ (instancetype)rangeWithLowerLimit:(CGFloat)lower upperLimit:(CGFloat)upper;

Parameters

lower

The minimum value for the range.

upper

The maximum value for the range.

Return Value

A newly initialized range object.

See Also

Creating a Range Object

+ rangeWithValue:variance:

Creates and initializes a new range object using a value and a maximum distance from that value.

+ rangeWithNoLimits

Creates and initializes a new range object that encompasses all possible values.

+ rangeWithLowerLimit:

Creates and initializes a new range object that specifies only a minimum value.

+ rangeWithUpperLimit:

Creates and initializes a new range object that specifies only a maximum value.

+ rangeWithConstantValue:

Creates and initializes a new range object that specifies a constant value.

- initWithLowerLimit:upperLimit:

Initializes a new range object.