Contents

removeObject(at:)

Removes a the object at the specified index from the mutable ordered set.

Declaration

func removeObject(at idx: Int)

Parameters

  • idx:

    The index of the object to remove from the mutable ordered set. The value must not exceed the bounds of the set.

Discussion

To fill the gap, all elements beyond index are moved by subtracting 1 from their index.

See Also

Adding, Removing, and Reordering Entries