Inserts the specified object into the array at the specified index.
- macOS 10.7+
- Mac Catalyst 13.0+
The array object which is to be manipulated.
The index at which to insert the value. This value must lie within the index space of the array (0 to N-1 inclusive, where N is the count of the array). If the index is outside that range, the behavior is undefined.
The object to insert. This value is retained by the array and cannot be NULL. If there is already a value at the specified index, it is released, and the new value is inserted in its place.