Structure

NWInterface

An interface that a network connection uses to send and receive data.

Declaration

struct NWInterface

Topics

Inspecting Interfaces

let type: NWInterface.InterfaceType

The type of the interface, such as Wi-Fi or loopback.

enum NWInterface.InterfaceType

Types of network interfaces, based on their link layer media types.

let name: String

The name of the interface.

let index: Int

The system interface index associated with the interface.

var debugDescription: String

The description of the network interface.

Comparing Interfaces

Instance Properties

Relationships

See Also

Paths and Interfaces

struct NWPath

An object that contains information about the properties of the network that a connection uses, or that are available to your app.

class NWPathMonitor

An observer that you use to monitor and react to network changes.