Contents

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

  • browser:

    Sender of this delegate message.

  • domainString:

    Name of the domain that became unavailable.

  • moreComing:

    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