Contents

xpc_dictionary_get_uuid(_:_:)

Gets a UUID value from a dictionary directly.

Declaration

func xpc_dictionary_get_uuid(_ xdict: xpc_object_t, _ key: UnsafePointer<CChar>) -> UnsafePointer<UInt8>?

Parameters

  • xdict:

    The dictionary object which is to be examined.

  • key:

    The key whose value is to be obtained.

Return Value

The underlying uuid_t value for the specified key. NULL is the value at the specified index is not a UUID value. The returned pointer may be safely passed to the uuid(3) APIs.

See Also

Dictionary objects