Removes the objects at the specified indexes from the mutable ordered set.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The indexes of the objects to remove from the mutable ordered set. The locations specified by indexes must lie within the bounds of the mutable ordered .
This method is similar to
removeObject(at:), but allows you to efficiently remove multiple objects with a single operation.
Adding, Removing, and Reordering Entries
Appends a given object to the end of the mutable ordered set, if it is not already a member.
func addObjects(from: [Any])
Appends to the end of the mutable ordered set each object contained in a given array that is not already a member.
func insert(Any, at: Int)
Inserts the given object at the specified index of the mutable ordered set, if it is not already a member.