Enumeration

NSBinarySearchingOptions

Options for searches and insertions using indexOfObject:inSortedRange:options:usingComparator:.

Declaration

typedef enum NSBinarySearchingOptions : NSUInteger {
    ...
} NSBinarySearchingOptions;

Topics

Constants

NSBinarySearchingFirstEqual

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

NSBinarySearchingLastEqual

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

NSBinarySearchingInsertionIndex

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