A dictionary containing all of the key-value pairs in the key-value store.
SDKs
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Foundation
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.