Contents

xpc_dictionary_get_count(_:)

Returns the number of values in the dictionary.

Declaration

func xpc_dictionary_get_count(_ xdict: xpc_object_t) -> Int

Parameters

  • xdict:

    The dictionary object which is to be examined.

Return Value

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.

See Also

Dictionary objects