< Previous PageNext Page > Hide TOC

Legacy Documentclose button

Important: NSURLClient is deprecated in Mac OS X v10.4 and later. Applications that are intended for deployment on Mac OS X v10.3 or later should use NSURLConnection or NSURLDownload instead; see URL Loading System.

Deprecated NSURLClient Methods

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

Deprecated in Mac OS X v10.4 and later

URL:resourceDataDidBecomeAvailable:

Notifies the URL client that the URL has loaded new data. (Deprecated in Mac OS X v10.4 and later.)

- (void)URL:(NSURL *)sender resourceDataDidBecomeAvailable:(NSData *)newBytes

Parameters
sender

The URL that has loaded new data.

newBytes

The newly loaded data.

Availability
Declared In
NSURL.h

URL:resourceDidFailLoadingWithReason:

Notifies the URL client that the URL failed to load its resource data. (Deprecated in Mac OS X v10.4 and later.)

- (void)URL:(NSURL *)sender resourceDidFailLoadingWithReason:(NSString *)reason

Parameters
sender

The URL that failed to load its resource data.

reason

The reason the load failed.

Availability
Declared In
NSURL.h

URLResourceDidCancelLoading:

Notifies the URL client that the URL stopped loading its resource data because loading was canceled. (Deprecated in Mac OS X v10.4 and later.)

- (void)URLResourceDidCancelLoading:(NSURL *)sender

Parameters
sender

The URL that stopped loading its resource data because loading was canceled.

Availability
Declared In
NSURL.h

URLResourceDidFinishLoading:

Notifies the URL client that the URL has finished loading its resource data. (Deprecated in Mac OS X v10.4 and later.)

- (void)URLResourceDidFinishLoading:(NSURL *)sender

Parameters
sender

The URL that has finished loading its resource data.

Availability
Declared In
NSURL.h

< Previous PageNext Page > Hide TOC


© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-08-01)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.