---
title: delegate
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pkcanvasview/delegate
---

# delegate

The object you use to respond to changes in the drawn content or with the selected tool.

## Declaration

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

## See Also

### Responding to drawing-related changes

- [PKCanvasViewDelegate](pencilkit/pkcanvasviewdelegate.md)
