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