<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "XPC",
  "identifier" : "/documentation/XPC/XPCDictionary/values",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "XPC"
    ],
    "preciseIdentifier" : "s:3XPC13XPCDictionaryV6valuesSaySo13OS_xpc_object_pGvp"
  },
  "title" : "values"
}
-->

# values

A collection containing just the values of the dictionary.

```
var values: [xpc_object_t] { get }
```

## Discussion

A collection containing just the values of the dictionary. When iterated over, values appear in this collection in the same order as they occur in the dictionary’s key-value pairs.

> Note:
> The complexity of this property is O(*n*) over the dictionary’s ``doc://com.apple.xpc/documentation/XPC/XPCDictionary/count``.

---

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)