netService(_:didNotPublish:)
Notifies the delegate that a service could not be published.
Declaration
optional func netService(_ sender: NetService, didNotPublish errorDict: [String : NSNumber])Parameters
- sender:
The service that could not be published.
- errorDict:
A dictionary containing information about the problem. The dictionary contains the keys
NSNetServicesErrorCodeandNSNetServicesErrorDomain.
Discussion
This method may be called long after a netServiceWillPublish(_:) message has been delivered to the delegate.