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.