---
title: "init(_:)"
framework: xpc
role: symbol
role_heading: Initializer
path: "xpc/xpcdictionary/init(_:)"
---

# init(_:)

Creates a dictionary using the keys and values in the specified object parameter.

## Declaration

```swift
init(_ value: xpc_object_t)
```

## Parameters

- `value`: An XPC dictionary object. The object’s type must be doc://com.apple.xpc/documentation/XPC/XPC_TYPE_DICTIONARY-swift.var.

## See Also

### Creating a dictionary

- [init()](xpc/xpcdictionary/init().md)
- [copy(into:)](xpc/xpcdictionary/copy(into:).md)
