netServiceWillPublish(_:)
Notifies the delegate that the network is ready to publish the service.
Declaration
optional func netServiceWillPublish(_ sender: NetService)Parameters
- sender:
The service that is ready to publish.
Discussion
Publication of the service proceeds asynchronously and may still generate a call to the delegate’s netService(_:didNotPublish:) method if an error occurs.
See Also
Related Documentation
- Bonjour Overview
- NSNetServices and CFNetServices Programming Guide