Initializer

init()

Initializes an empty index set.

Declaration

init()

Relationships

From Protocol

See Also

Creating an Index Set

init(arrayLiteral: Int...)

Creates a set containing the elements of the given array literal.

init(integer: IndexSet.Element)

Initializes an index set with a single integer.

init(integersIn: Range<IndexSet.Element>)

Initializes an index set with a range of integers.