Instance Method


Initiates a search for domains in which the host may register services.


func searchForRegistrationDomains()


This method returns immediately, sending a netServiceBrowserWillSearch(_:) message to the delegate if the network was ready to initiate the search. The delegate receives a subsequent netServiceBrowser(_:didFindDomain:moreComing:) message for each domain discovered.

Most network service browser clients do not have to use this method—it is sufficient to publish a service with the empty string, which registers it in any available registration domains automatically.

See Also

Using Network Service Browsers

func searchForBrowsableDomains()

Initiates a search for domains visible to the host. This method returns immediately.

func searchForServices(ofType: String, inDomain: String)

Starts a search for services of a particular type within a specific domain.

func stop()

Halts a currently running search or resolution.