Instance Property

dictionaryRepresentation

A dictionary containing all of the key-value pairs in the key-value store.

Declaration

var dictionaryRepresentation: [String : Any] { get }

Discussion

This method returns the in-memory version of the keys and values. If you want to ensure that this dictionary contains the most recent set of changes, call synchronize() shortly before calling this method.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software