Deprecated NSNetServiceBrowser Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.4

searchForAllDomains

Initiates a search for all domains that are visible to the host. (Deprecated in OS X v10.4. This method has been deprecated. Use searchForBrowsableDomains or searchForRegistrationDomains instead.)

- (void)searchForAllDomains
Discussion

This method returns immediately, sending a netServiceBrowserWillSearch: message to the delegate if the network was ready to initiate the search. The delegate receives a subsequent netServiceBrowser:didFindDomain:moreComing: message for each domain discovered.

This method may find domains in which the localhost does not have registration authority.

Availability
  • Available in OS X v10.2 and later.
  • Deprecated in OS X v10.4.
Declared In
NSNetServices.h