netServiceBrowser(_:didFind:moreComing:)
Tells the delegate the sender found a service.
Declaration
optional func netServiceBrowser(_ browser: NetServiceBrowser, didFind service: NetService, moreComing: Bool)Parameters
Discussion
The delegate uses this message to compile a list of available services. It should wait until moreServicesComing is false to do a bulk update of user interface elements.
Special Considerations
If the delegate chooses to resolve netService, it should retain netService and set itself as that service’s delegate. The delegate should, therefore, release that service when it receives the netServiceDidResolveAddress(_:) or netService(_:didNotResolve:) delegate messages of the NetService class.