Contents

CFPreferencesCopyAppValue(_:_:)

Obtains a preference value for the specified key and application.

Declaration

func CFPreferencesCopyAppValue(_ key: CFString, _ applicationID: CFString) -> CFPropertyList?

Parameters

Return Value

The preference data for the specified key and application. If no value was located, returns NULL. Ownership follows the The Create Rule.

Discussion

Note that values returned from this function are immutable, even if you have recently set the value using a mutable object.

See Also

Getting Preference Values