Instance Method インスタンスメソッド

netServiceBrowser(_:didFindDomain:moreComing:)

Tells the delegate the sender found a domain. 送り手側があるドメインを見つけたと委任先に伝えます。

Declaration 宣言

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

Parameters パラメータ

netServiceBrowser

Sender of this delegate message. この委任メッセージの送り手。

domainName

Name of the domain found by netServiceBrowser. netServiceBrowserによって見つけられたドメインの名前。

moreDomainsComing

true when netServiceBrowser is waiting for additional domains. false when there are no additional domains. truenetServiceBrowserがさらなるドメインに対して待機している場合。false、さらなるドメインがない場合。

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. 委任先は、このメッセージを使って、利用可能なドメインのリストを編集します。それは、moreDomainsComingfalseになって、ユーザインターフェイス要素の主要部の更新を行うまで待つべきです。

See Also 参照

Using Network Service Browsers ネットワークサービスブラウザを使う

Related Documentation 関連文書