---
title: "setDelegate(_:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/qccompositionpickerview/setdelegate(_:)"
---

# setDelegate(_:)

Sets the composition picker view delegate.

## Declaration

```swift
func setDelegate(_ delegate: Any!)
```

## Parameters

- `delegate`: The delegate to set.

## See Also

### Setting and Retrieving the View Delegate

- [delegate()](quartz/qccompositionpickerview/delegate().md)
