<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreWLAN",
  "identifier" : "/documentation/CoreWLAN/CWWiFiClient/delegate",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core WLAN"
    ],
    "preciseIdentifier" : "c:objc(cs)CWWiFiClient(py)delegate"
  },
  "title" : "delegate"
}
-->

# delegate

An object that provides Wi-Fi event handling.

```
weak var delegate: AnyObject? { get set }
```

## Discussion

When a client registers for Wi-Fi events with the [`startMonitoringEvent(with:)`](/documentation/CoreWLAN/CWWiFiClient/startMonitoringEvent(with:)) method, the client’s delegate receives messages in response to Wi-Fi events. The delegate should adopt the [`CWEventDelegate`](/documentation/CoreWLAN/CWEventDelegate) protocol to receive these messages.

---

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)