Initializer

init(integersIn:)

Initializes an index set with a range of integers.

Declaration

init(integersIn range: Range<IndexSet.Element>)

See Also

Creating an Index Set

init()

Initializes an empty 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.