Contents

xpc_dictionary_get_string(_:_:)

Gets a C-string value from a dictionary directly.

Declaration

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

Parameters

  • xdict:

    The dictionary object which is to be examined.

  • key:

    The key whose value is to be obtained.

Return Value

The underlying C string for the specified key. NULL if the value for the specified key is not a C string value or if there is no value for the specified key.

See Also

Dictionary objects