Creates an XPC object representing a dictionary of XPC objects keyed to C-strings.
- macOS 10.7+
- Mac Catalyst 13.0+Beta
An array of C-strings that are to be the keys for the values to be inserted. Each element of this array is copied into the dictionary's internal storage. If any element of this array is NULL, the behavior is undefined.
A C-array that is parallel to the array of keys, consisting of objects that are to be inserted. Each element in this array is retained. Elements in this array may be NULL.
The number of key/value pairs in the given arrays. If the count is less than the actual count of values, only that many key/value pairs will be inserted into the dictionary.
If the count is more than the the actual count of key/value pairs, the behavior is undefined. If one array is NULL and the other is not, the behavior is undefined. If both arrays are NULL and the count is non-0, the behavior is undefined.
The new dictionary object.
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