---
title: delegate
framework: pushkit
role: symbol
role_heading: Instance Property
path: pushkit/pkpushregistry/delegate
---

# delegate

The delegate object that receives notifications coming from the push registry object.

## Declaration

```swift
weak var delegate: (any PKPushRegistryDelegate)? { get set }
```

## Discussion

Discussion You must assign a valid object to this property before modifying the desiredPushTypes property. A valid delegate object is required to receive push tokens and payload data from incoming pushes. For more information about the methods of the PKPushRegistryDelegate protocol, see PKPushRegistryDelegate.

## See Also

### Receiving the Notification Data

- [PKPushRegistryDelegate](pushkit/pkpushregistrydelegate.md)
