Instance Method

netServiceBrowser(_:didRemove:moreComing:)

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

Declaration

optional func netServiceBrowser(_ browser: NetServiceBrowser, didRemove service: NetService, moreComing: Bool)

Parameters

netServiceBrowser

Sender of this delegate message.

netService

Network service that has become unavailable.

moreServicesComing

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

Discussion

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

See Also

Using Network Service Browsers

func netServiceBrowser(NetServiceBrowser, didRemoveDomain: String, moreComing: Bool)

Tells the delegate the a domain 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.