---
title: delegate
framework: watchconnectivity
role: symbol
role_heading: Instance Property
path: watchconnectivity/wcsession/delegate
---

# delegate

The delegate for the session object

## Declaration

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

## Discussion

Discussion You must assign an object conforming to the WCSessionDelegate protocol to this property before calling the activate() method. The delegate is responsible for responding to session-related changes, for processing incoming data, and for responding to errors. For more information about implementing your delegate object, see WCSessionDelegate.

## See Also

### Configuring the Session

- [activate()](watchconnectivity/wcsession/activate().md)
- [activationState](watchconnectivity/wcsession/activationstate.md)
