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

# delegate

The object that receives the scene’s life-cycle events.

## Declaration

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

## Discussion

Discussion Use this property to access the delegate object CarPlay creates from the class name you provide in the scene manifest of your app’s Info.plist file.

## See Also

### Responding to the Scene Life Cycle

- [CPTemplateApplicationSceneDelegate](carplay/cptemplateapplicationscenedelegate.md)
