---
title: interface()
framework: corewlan
role: symbol
role_heading: Instance Method
path: corewlan/cwwificlient/interface()
---

# interface()

Returns the default Wi-Fi interface.

## Declaration

```swift
func interface() -> CWInterface?
```

## Return Value

Return Value The CWInterface object that represents the default Wi-Fi interface.

## See Also

### Getting Interfaces

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