Returns the connection from which the dictionary was received.
- macOS 10.7+
- Mac Catalyst 13.0+Beta
The dictionary object which is to be examined.
If the dictionary was received by a connection event handler or a dictionary created through xpc_dictionary_create_reply(), a connection object over which a reply message can be sent is returned. For any other dictionary, NULL is returned.
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