Structure

CFRange

A structure representing a range of sequential items in a container, such as characters in a buffer or elements in a collection.

Declaration

typedef struct {
    ...
} CFRange;

Topics

Instance Properties

length

An integer representing the number of items in the range. For type compatibility with the rest of the system, LONG_MAX is the maximum value you should use for length.

location

An integer representing the starting location of the range. For type compatibility with the rest of the system, LONG_MAX is the maximum value you should use for location.