Sets the value for the specified key to the specified object.
- macOS 10.7+
- Mac Catalyst 13.0+Beta
The dictionary object which is to be manipulated.
The key for which the value shall be set.
The object to insert. The object is retained by the dictionary. If there already exists a value for the specified key, the old value is released and overwritten by the new value. This parameter may be NULL, in which case the value corresponding to the specified key is deleted if present.