Initializer

init(index:)

Initializes an allocated NSIndexSet object with an index.

Declaration

convenience init(index value: Int)

Parameters

index

An index. Must be in the range 0 .. NSNotFound - 1.

Return Value

Initialized NSIndexSet object with index.

See Also

Creating Index Sets

init(indexesIn: NSRange)

Initializes an allocated NSIndexSet object with an index range.

init(indexSet: IndexSet)

Initializes an allocated NSIndexSet object with an index set.

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