Contents

NSURLConnectionDataDelegate

A protocol that most delegates of a URL connection implement to receive data associated with the connection.

Declaration

protocol NSURLConnectionDataDelegate : NSURLConnectionDelegate

Overview

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

Handling Redirects

Overriding Caching Behavior

See Also

URL Connection