---
title: delegate
framework: passkit
role: symbol
role_heading: Instance Property
path: passkit/pkaddsecureelementpassviewcontroller/delegate
---

# delegate

An object that acts as the view controller’s delegate.

## Declaration

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

## Discussion

Discussion The delegate must adopt the PKAddSecureElementPassViewControllerDelegate protocol. The view controller doesn’t retain the delegate.

## See Also

### Responding to the life cycle of a pass

- [PKAddSecureElementPassViewControllerDelegate](passkit/pkaddsecureelementpassviewcontrollerdelegate.md)
