---
title: XPCDictionary.KeyValuePair
framework: xpc
role: symbol
role_heading: Type Alias
path: xpc/xpcdictionary/keyvaluepair
---

# XPCDictionary.KeyValuePair

A type that contains a dictionary’s key-value pair.

## Declaration

```swift
typealias KeyValuePair = (key: String, value: xpc_object_t)
```

## Discussion

Discussion XPCDictionary exposes its values as instances of xpc_object_t even if they were originally set with other types.
