Contents

dictionaryRepresentation

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

Declaration

var dictionaryRepresentation: [String : Any] { get }

Discussion

Getting this property retrieves the in-memory copy of the keys and values. If changes to the keys and values are pending, the system fetches those changes from iCloud and updates the dictionary before returning it. To ensure the dictionary contains all recent changes, call synchronize() shortly before accessing this property. All of the values in the dictionary are property list object types.

See Also

Getting values