Instance Method

remove(integersIn:)

Remove a range of integers from the IndexSet.

Declaration

mutating func remove(integersIn range: Range<IndexSet.Element>)

See Also

Removing Elements

func remove(IndexSet.Element) -> IndexSet.Element?

Remove an integer from the IndexSet.

func remove(integersIn: ClosedRange<IndexSet.Element>)

Remove a range of integers from the IndexSet.

func removeAll()

Remove all values from the IndexSet.

func subtract(IndexSet)

Removes the elements of the given set from this set.

func subtracting(IndexSet) -> IndexSet

Returns a new set containing the elements of this set that do not occur in the given set.