Instance Method

netServiceBrowser(_:didRemoveDomain:moreComing:)

Tells the delegate the a domain has disappeared or has become unavailable.

Declaration

optional func netServiceBrowser(_ browser: NetServiceBrowser, didRemoveDomain domainString: String, moreComing: Bool)

Parameters

netServiceBrowser

Sender of this delegate message.

domainName

Name of the domain that became unavailable.

moreDomainsComing

true when netServiceBrowser is waiting for additional domains. false when there are no additional domains.

Discussion

The delegate uses this message to compile a list of unavailable domains. It should wait until moreDomainsComing is false to do a bulk update of user interface elements.

See Also

Using Network Service Browsers

func netServiceBrowser(NetServiceBrowser, didRemove: NetService, moreComing: Bool)

Tells the delegate a service has disappeared or has become unavailable.

func netServiceBrowserWillSearch(NetServiceBrowser)

Tells the delegate that a search is commencing.

func netServiceBrowser(NetServiceBrowser, didNotSearch: [String : NSNumber])

Tells the delegate that a search was not successful.

func netServiceBrowserDidStopSearch(NetServiceBrowser)

Tells the delegate that a search was stopped.