From the documentation to NEAppProxyFlow class
/**
* @property networkInterface
* @discussion An nw_interface_t containing information about the network interface used by the flow. If the flow's data is transported using a different interface, this property
* should be set to that interface.
*/
@available(macOS 10.15.4, *)
@NSCopying open var networkInterface: nw_interface_t?
How to create an instance of nw_interface_t
given I have an instance of Network.NWInterface
class? There are no methods like nw_interface_create_with_name
or something like that. Force cast also fails.