Returns the number of values stored in the dictionary.
- macOS 10.7+
- Mac Catalyst 13.0+Beta
The dictionary object which is to be examined.
The number of values stored in the dictionary. Calling xpc_dictionary_set_value() with a non-NULL value will increment the count. Calling xpc_dictionary_set_value() with a NULL value will decrement the count.
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