Instance Property


A handler that delivers updates about discovered services.


final var browseResultsChangedHandler: ((Set<NWBrowser.Result>, Set<NWBrowser.Result.Change>) -> Void)? { get set }

See Also

Browsing for Services

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

Initializes a browser with a type of service to discover.

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.