Contents

xpc_dictionary_create_reply(_:)

Creates a dictionary that is in reply to the specified dictionary.

Declaration

func xpc_dictionary_create_reply(_ original: xpc_object_t) -> xpc_object_t?

Parameters

  • original:

    The original dictionary that is to be replied to.

Return Value

The new dictionary object. NULL if the dictionary did not come from the wire with a reply context.

Discussion

After completing successfully on a dictionary, this method may not be called again on that same dictionary. Attempts to do so will return NULL.

When this dictionary is sent across the reply connection, the remote end’s reply handler is invoked.

See Also

Dictionary objects