init

Initializes an allocated NSIndexSet object.

Declaration

- (instancetype)init

Return Value

Initialized, empty NSIndexSet object.

Overview

This method is a designated initializer for NSIndexSet.

See Also

Creating Index Sets

+ indexSet

Creates an empty index set.

+ indexSetWithIndex:

Creates an index set with an index.

+ indexSetWithIndexesInRange:

Creates an index set with an index range.

- initWithIndex:

Initializes an allocated NSIndexSet object with an index.

- initWithIndexesInRange:

Initializes an allocated NSIndexSet object with an index range.

- initWithIndexSet:

Initializes an allocated NSIndexSet object with an index set.