---
title: delegate
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipencilinteraction/delegate
---

# delegate

The object that handles the double-tap or squeeze interactions a person makes on Apple Pencil.

## Declaration

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

## See Also

### Handling interactions

- [UIPencilInteractionDelegate](uikit/uipencilinteractiondelegate.md)
