Type Method

valueWithRange:

Creates a new value object containing the specified Foundation range structure.

Declaration

+ (NSValue *)valueWithRange:(NSRange)range;

Parameters

range

The value for the new object.

Return Value

A new value object that contains the range information.

See Also

Working with Range Values

rangeValue

The Foundation range structure representation of the value.