Inserts a connection into an array.
- 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) or be XPC_ARRAY_APPEND. If the index is outside that range, the behavior is undefined.
The connection to insert. After calling this method, the XPC object corresponding to the primitive value inserted may be safely retrieved with
xpc. The connection is NOT retained by the array.
_array _get _value(_: _:)