---
title: interface
framework: network
role: symbol
role_heading: Instance Property
path: network/nwendpoint/interface
---

# interface

The optional interface associated with this endpoint, such as the interface on which it was discovered.

## Declaration

```swift
var interface: NWInterface? { get }
```
