Creates an XPC object representing a dictionary of XPC objects keyed to C-strings.
- macOS 10.7+
- Mac Catalyst 13.0+
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.