NSURLConnectionDataDelegate
A protocol that most delegates of a URL connection implement to receive data associated with the connection.
Declaration
protocol NSURLConnectionDataDelegate : NSURLConnectionDelegateOverview
The NSURLConnectionDataDelegate protocol describes methods that should be implemented by the delegate for an instance of the NSURLConnection class. Many methods in this protocol existed as part of an informal protocol in previous versions of macOS and iOS.
In addition to the methods described in this protocol, an NSURLConnection delegate should also implement the methods described in the NSURLConnectionDelegate protocol.
Topics
Handling Incoming Data
Receiving Connection Progress
connection(_:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:)connectionDidFinishLoading(_:)