Replaces the objects in the receiving array at locations specified with the objects from a given array.
- iOS 2.0+
- macOS 10.4+
- 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 array at the indexes specified by
indexes. The count of locations in
indexesmust equal the count of
The indexes in
indexes are used in the same order as the objects in
nil, this method raises an exception.