Initializer

init(indexSet:)

Initializes an allocated NSIndexSet object with an index set.

Declaration

init(indexSet: IndexSet)

Parameters

indexSet

An index set.

Return Value

Initialized NSIndexSet object with indexSet.

Discussion

This method is a designated initializer for NSIndexSet.

See Also

Creating Index Sets

init(index: Int)

Initializes an allocated NSIndexSet object with an index.

init(indexesIn: NSRange)

Initializes an allocated NSIndexSet object with an index range.