Creates a connection from a dictionary directly.
- macOS 10.7+
- Mac Catalyst 13.0+
The dictionary object which is to be examined.
The key whose value is to be obtained.
A new connection created from the value for the specified key. You are responsible for calling xpc_release() on the returned connection. NULL if the value for the specified key is not an endpoint containing a connection or if there is no value for the specified key. Each call to this method for the same key in the same dictionary will yield a different connection. See
xpc_connection_create_from_endpoint for discussion as to the responsibilities when dealing with the returned connection.
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).