Contents

xpc_dictionary_set_value(_:_:_:)

Sets the value for the specified key to the specified object.

Declaration

func xpc_dictionary_set_value(_ xdict: xpc_object_t, _ key: UnsafePointer<CChar>, _ value: xpc_object_t?)

Parameters

  • xdict:

    The dictionary object which is to be manipulated.

  • key:

    The key for which the value shall be set.

  • value:

    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.

See Also

Dictionary objects