---
title: delegate
framework: externalaccessory
role: symbol
role_heading: Instance Property
path: externalaccessory/eaaccessory/delegate
---

# delegate

The object that acts as the delegate of the accessory.

## Declaration

```swift
unowned(unsafe) var delegate: (any EAAccessoryDelegate)? { get set }
```

## Discussion

Discussion The delegate receives notifications about changes to the status of the accessory object. The delegate must adopt the EAAccessoryDelegate protocol.

## See Also

### Responding to Disconnection Events

- [EAAccessoryDelegate](externalaccessory/eaaccessorydelegate.md)
