---
title: CWWiFiClient
framework: corewlan
role: symbol
role_heading: Class
path: corewlan/cwwificlient
---

# CWWiFiClient

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

## Declaration

```swift
class CWWiFiClient
```

## Overview

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() class method. Instead of instantiating CWInterface objects directly, use the ones provided by the instance methods of this class. For example, the interface() method returns the default Wi-Fi interface.

## Topics

### Getting the Shared Instance

- [shared()](corewlan/cwwificlient/shared().md)

### Initializing a Wi-Fi Client

- [init()](corewlan/cwwificlient/init().md)

### Setting a Delegate

- [delegate](corewlan/cwwificlient/delegate.md)

### Getting Interfaces

- [interface()](corewlan/cwwificlient/interface().md)
- [interface(withName:)](corewlan/cwwificlient/interface(withname:).md)
- [interfaces()](corewlan/cwwificlient/interfaces().md)
- [interfaceNames()](corewlan/cwwificlient/interfacenames()-swift.type.method.md)

### Monitoring Events

- [startMonitoringEvent(with:)](corewlan/cwwificlient/startmonitoringevent(with:).md)
- [stopMonitoringAllEvents()](corewlan/cwwificlient/stopmonitoringallevents().md)
- [stopMonitoringEvent(with:)](corewlan/cwwificlient/stopmonitoringevent(with:).md)

### Instance Methods

- [interfaceNames()](corewlan/cwwificlient/interfacenames()-swift.method.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Classes

- [CWChannel](corewlan/cwchannel.md)
- [CWConfiguration](corewlan/cwconfiguration.md)
- [CWInterface](corewlan/cwinterface.md)
- [CWMutableConfiguration](corewlan/cwmutableconfiguration.md)
- [CWMutableNetworkProfile](corewlan/cwmutablenetworkprofile.md)
- [CWNetwork](corewlan/cwnetwork.md)
- [CWNetworkProfile](corewlan/cwnetworkprofile.md)
