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.