A protocol that most delegates of a URL connection implement to receive data associated with the connection.
- iOS 5.0+
- macOS 10.8+
- tvOS 9.0+
- watchOS 2.0+
NSURLConnection 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