---
title: "init(queue:)"
framework: pushkit
role: symbol
role_heading: Initializer
path: "pushkit/pkpushregistry/init(queue:)"
---

# init(queue:)

Creates a push registry with the specified dispatch queue.

## Declaration

```swift
init(queue: dispatch_queue_t?)
```

## Parameters

- `queue`: The dispatch queue on which to execute the delegate methods. It is recommended that you specify a serial queue for this parameter. Specify nil to execute the delegate methods on the app’s main queue.

## Return Value

Return Value A PKPushRegistry object that you can use to register for push tokens and use to receive notifications.
