---
title: delegate
framework: homekit
role: symbol
role_heading: Instance Property
path: homekit/hmaccessory/delegate
---

# delegate

A delegate that receives updates on the state of the accessory.

## Declaration

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

## See Also

### Tracking changes to an accessory

- [HMAccessoryDelegate](homekit/hmaccessorydelegate.md)
