Inserts a raw data value into an array.
- macOS 10.7+
- Mac Catalyst 13.0+Beta
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 raw data to insert. After calling this method, the XPC object corresponding to the primitive value inserted may be safely retrieved with
Gets a pointer to the raw bytes of a data object from an array directly.
Creates an XPC object representing a POSIX file descriptor.
Returns a file descriptor that is equivalent to the one boxed by the file descriptor object.
Calculates a hash value for the given object.
Decrements the reference count of an object.
Increments the reference count of an object.
Creates an XPC object representing the given shared memory region.
Maps the region boxed by the XPC shared memory object into the caller’s address space.
Creates an XPC object representing a universally-unique identifier (UUID) as described by uuid(3).
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software