Deprecated NSURLHandleClient Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.4 and later

URLHandle:resourceDataDidBecomeAvailable:

Sent periodically by an URL handle when new resource data becomes available. (required) (Deprecated in OS X v10.4 and later. Use NSURLConnection or NSURLDownload instead; see URL Loading System Programming Guide.)

- (void)URLHandle:(NSURLHandle *)sender resourceDataDidBecomeAvailable:(NSData *)newBytes
Parameters
sender

The URL handle sending the message.

newBytes

The newly available data.

Availability
  • Deprecated in OS X v10.4 and later.
Declared In
NSURLHandle.h

URLHandle:resourceDidFailLoadingWithReason:

Sent when the URL handle failed to load resource data for some reason other than being canceled. (required) (Deprecated in OS X v10.4 and later. Use NSURLConnection or NSURLDownload instead; see URL Loading System Programming Guide.)

- (void)URLHandle:(NSURLHandle *)sender resourceDidFailLoadingWithReason:(NSString *)reason
Parameters
sender

The URL handle sending the message.

reason

A human-readable, localized string describing why the load failed.

Availability
  • Deprecated in OS X v10.4 and later.
Declared In
NSURLHandle.h

URLHandleResourceDidBeginLoading:

Sent when an URL handle begins loading resource data. (required) (Deprecated in OS X v10.4 and later. Use NSURLConnection or NSURLDownload instead; see URL Loading System Programming Guide.)

- (void)URLHandleResourceDidBeginLoading:(NSURLHandle *)sender
Parameters
sender

The URL handle sending the message.

Availability
  • Deprecated in OS X v10.4 and later.
Declared In
NSURLHandle.h

URLHandleResourceDidCancelLoading:

Sent when an URL handle has canceled loading resource data in response to a programmatic request. (required) (Deprecated in OS X v10.4 and later. Use NSURLConnection or NSURLDownload instead; see URL Loading System Programming Guide.)

- (void)URLHandleResourceDidCancelLoading:(NSURLHandle *)sender
Parameters
sender

The URL handle sending the message.

Availability
  • Deprecated in OS X v10.4 and later.
Declared In
NSURLHandle.h

URLHandleResourceDidFinishLoading:

Sent when an URL handle finishes loading resource data. (required) (Deprecated in OS X v10.4 and later. Use NSURLConnection or NSURLDownload instead; see URL Loading System Programming Guide.)

- (void)URLHandleResourceDidFinishLoading:(NSURLHandle *)sender
Parameters
sender

The URL handle sending the message.

Availability
  • Deprecated in OS X v10.4 and later.
Declared In
NSURLHandle.h