<!--
{
  "availability" : [
    "macOS: 10.10.0 - 13.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreWLAN",
  "identifier" : "/documentation/CoreWLAN/CWWiFiClient/interfaceNames()-swift.type.method",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Core WLAN"
    ],
    "preciseIdentifier" : "c:objc(cs)CWWiFiClient(cm)interfaceNames"
  },
  "title" : "interfaceNames()"
}
-->

# interfaceNames()

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

```
class func interfaceNames() -> [String]?
```

## Return Value

An array of strings representing the names of the available Wi-Fi interfaces in the system. Any one of these names can be used with the [`interface(withName:)`](/documentation/CoreWLAN/CWWiFiClient/interface(withName:)) method to obtain a reference to the corresponding [`CWInterface`](/documentation/CoreWLAN/CWInterface) instance.

---

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)