---
title: CPTabBarTemplateDelegate
framework: carplay
role: symbol
role_heading: Protocol
path: carplay/cptabbartemplatedelegate
---

# CPTabBarTemplateDelegate

The methods an object implements to act as the delegate for a tab bar template.

## Declaration

```swift
@MainActor protocol CPTabBarTemplateDelegate : NSObjectProtocol
```

## Overview

Overview You use the CPTabBarTemplateDelegate protocol to respond to a tab bar template’s events. The protocol defines methods that the template calls in response to these events, and your implementation provides the appropriate behavior when the events occur. For example, reloading a tab’s contents when the user selects it to make sure it’s displaying the latest data.

## Topics

### Managing the Selected Template

- [tabBarTemplate(_:didSelect:)](carplay/cptabbartemplatedelegate/tabbartemplate(_:didselect:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Managing Tab Bar Interactions

- [delegate](carplay/cptabbartemplate/delegate.md)
