<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSUbiquitousKeyValueStore/dictionaryRepresentation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSUbiquitousKeyValueStore(py)dictionaryRepresentation"
  },
  "title" : "dictionaryRepresentation"
}
-->

# dictionaryRepresentation

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

```
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()`](/documentation/Foundation/NSUbiquitousKeyValueStore/synchronize()) shortly before accessing this property. All
of the values in the dictionary are property list object types.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)