init(interface:)
Creates the attachment from a bridged network interface object.
Declaration
init(interface: VZBridgedNetworkInterface)Parameters
- interface:
An existing network interface of the host computer. Get a list of available interfaces from the Networkinterfaces property of Vzbridgednetworkinterface.
Return Value
An attachment object for the specified network interface.