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

# CWWiFiClient

A wrapper around the entire Wi-Fi subsystem that you use to access interfaces and set up event notifications.

```
class CWWiFiClient
```

## Overview

Wi-Fi client objects are heavy. Therefore, it’s more efficient to use a single, long-running client instance, rather than creating several short-lived instances. For convenience, you can use the singleton instance returned by the [`shared()`](/documentation/CoreWLAN/CWWiFiClient/shared()) class method.

Instead of instantiating [`CWInterface`](/documentation/CoreWLAN/CWInterface) objects directly, use the ones provided by the instance methods of this class. For example, the [`interface()`](/documentation/CoreWLAN/CWWiFiClient/interface()) method returns the default Wi-Fi interface.

## Topics

### Getting the Shared Instance

[`+  sharedWiFiClient`](/documentation/CoreWLAN/CWWiFiClient/shared())

The shared Wi-Fi client object.

### Initializing a Wi-Fi Client

[`-  init`](/documentation/CoreWLAN/CWWiFiClient/init())

Initializes a Wi-Fi client object.

### Setting a Delegate

[`delegate`](/documentation/CoreWLAN/CWWiFiClient/delegate)

An object that provides Wi-Fi event handling.

### Getting Interfaces

[`-  interface`](/documentation/CoreWLAN/CWWiFiClient/interface())

Returns the default Wi-Fi interface.

[`-  interfaceWithName:`](/documentation/CoreWLAN/CWWiFiClient/interface(withName:))

Returns the Wi-Fi interface with the given name.

[`-  interfaces`](/documentation/CoreWLAN/CWWiFiClient/interfaces())

Returns all available Wi-Fi interfaces.

[`+  interfaceNames`](/documentation/CoreWLAN/CWWiFiClient/interfaceNames()-swift.type.method)

Returns the list of the names of available Wi-Fi interfaces.

### Monitoring Events

[`-  startMonitoringEventWithType:error:`](/documentation/CoreWLAN/CWWiFiClient/startMonitoringEvent(with:))

Register for specific Wi-Fi event notifications.

[`-  stopMonitoringAllEventsAndReturnError:`](/documentation/CoreWLAN/CWWiFiClient/stopMonitoringAllEvents())

Unregister for all Wi-Fi event notifications.

[`-  stopMonitoringEventWithType:error:`](/documentation/CoreWLAN/CWWiFiClient/stopMonitoringEvent(with:))

Unregister for specific Wi-Fi event notifications.

### Instance Methods

[`-  interfaceNames`](/documentation/CoreWLAN/CWWiFiClient/interfaceNames()-swift.method)

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)