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

struct CFRange

Topics

Instance Properties

var length: CFIndex

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.

var location: CFIndex

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software