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

netServiceBrowserWillSearch(_:)

Tells the delegate that a search is commencing. ある検索が開始することを委任先に伝えます。

Declaration 宣言

optional func netServiceBrowserWillSearch(_ browser: NetServiceBrowser)

Parameters パラメータ

netServiceBrowser

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

Discussion 議論

This message is sent to the delegate only if the underlying network layer is ready to begin a search. The delegate can use this notification to prepare its data structures to receive data. このメッセージが委任先に送られるのは、基礎をなすネットワーク層が検索を始める準備ができている場合にだけです。委任先は、この通知を使うことで、それのデータ構造体を用意してデータを受け取るようにできます。

See Also 参照

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