---
title: delegate
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cptabbartemplate/delegate
---

# delegate

The object that acts as the template’s delegate.

## Declaration

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

## Discussion

Discussion The delegate must conform to the CPTabBarTemplateDelegate protocol.

## See Also

### Managing Tab Bar Interactions

- [CPTabBarTemplateDelegate](carplay/cptabbartemplatedelegate.md)
