Replaces the objects at the specified indexes with the new objects.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The indexes of the objects to be replaced.
The objects with which to replace the objects in the receiving mutable ordered set at the indexes specified by indexes.
The count of locations in
indexes must equal the count of objects.
The indexes in
indexes are used in the same order as the objects in
Adding, Removing, and Reordering Entries
Appends a given object to the end of the mutable ordered set, if it is not already a member.
Appends the given number of objects from a given C array to the end of the mutable ordered set.
Appends to the end of the mutable ordered set each object contained in a given array that is not already a member.
Inserts the given object at the specified index of the mutable ordered set, if it is not already a member.
Evaluates a given predicate against the mutable ordered set’s content and leaves only objects that match.