Structure

NSBinarySearchingOptions

Options for searches and insertions using index(of:inSortedRange:options:usingComparator:).

Declaration

struct NSBinarySearchingOptions

Topics

Constants

static var firstEqual: NSBinarySearchingOptions

Specifies that the search should return the first object in the range that is equal to the given object.

static var lastEqual: NSBinarySearchingOptions

Specifies that the search should return the last object in the range that is equal to the given object.

static var insertionIndex: NSBinarySearchingOptions

Returns the index at which you should insert the object in order to maintain a sorted array.

Relationships

Conforms To

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