---
title: XPCArray.IndexValuePair
framework: xpc
role: symbol
role_heading: Type Alias
path: xpc/xpcarray/indexvaluepair
---

# XPCArray.IndexValuePair

A type that contains an index and the object at that index.

## Declaration

```swift
typealias IndexValuePair = (index: Int, value: xpc_object_t)
```

## Discussion

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