---
title: xpc_object_t
framework: xpc
role: symbol
role_heading: Type Alias
path: xpc/xpc_object_t
---

# xpc_object_t

A type that can describe all XPC objects, including dictionaries, arrays, strings, and numbers.

## Declaration

```swift
typealias xpc_object_t = any OS_xpc_object
```

## Discussion

Discussion XPC objects are created with a retain count of 1, and therefore it is the caller’s responsibility to call xpc_release on them when they are no longer needed.

## See Also

### Objects

- [xpc_type_t](xpc/xpc_type_t.md)
- [OS_xpc_object](xpc/os_xpc_object.md)
- [OS_xpc_listener](xpc/os_xpc_listener-swift.class.md)
