Inserts a connection into a dictionary.
- macOS 10.7+
- Mac Catalyst 13.0+
The dictionary which is to be manipulated.
The key for which the primitive value shall be set.
The connection to insert. After calling this method, the XPC object corresponding to the primitive value inserted may be safely retrieved with
xpc_dictionary_get_value. The connection is NOT retained by the dictionary.
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).