Initializes a browser with a type of service to discover.


init(for descriptor: NWBrowser.Descriptor, using parameters: NWParameters)

See Also

Browsing for Services

enum NWBrowser.Descriptor

A service description used to discover Bonjour services.

func start(queue: DispatchQueue)

Starts browsing for services, and sets the queue on which all browser events will be delivered.

struct NWBrowser.Result

A set of discovered services and changes from the last result.

var browseResults: Set<NWBrowser.Result>

The list of discovered services.