Contents

netServiceBrowser(_:didFindDomain:moreComing:)

Tells the delegate the sender found a domain.

Declaration

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

Parameters

  • browser:

    Sender of this delegate message.

  • domainString:

    Name of the domain found by netServiceBrowser.

  • 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 available domains. It should wait until moreDomainsComing is false to do a bulk update of user interface elements.

See Also

Related Documentation

Using Network Service Browsers