Contents

xpc_dictionary_get_date(_:_:)

Gets a date value from a dictionary directly.

Declaration

func xpc_dictionary_get_date(_ xdict: xpc_object_t, _ key: UnsafePointer<CChar>) -> Int64

Parameters

  • xdict:

    The dictionary object which is to be examined.

  • key:

    The key whose value is to be obtained.

Return Value

The underlying date interval for the specified key. 0 if the value for the specified key is not a date value or if there is no value for the specified key.

See Also

Dictionary objects