<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchConnectivity",
  "identifier" : "/documentation/WatchConnectivity/WCSession/delegate",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Watch Connectivity"
    ],
    "preciseIdentifier" : "c:objc(cs)WCSession(py)delegate"
  },
  "title" : "delegate"
}
-->

# delegate

The delegate for the session object

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

## Discussion

You must assign an object conforming to the [`WCSessionDelegate`](/documentation/WatchConnectivity/WCSessionDelegate) protocol to this property before calling the [`activate()`](/documentation/WatchConnectivity/WCSession/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`](/documentation/WatchConnectivity/WCSessionDelegate).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)