O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

NSURLHandleClient — Mac OS X 10.0

Synopsis

This protocol defines methods that clients of NSURLHandle must implement to function as such. See Chapter 6 for more information.

@protocol NSURLHandleClient
                                  // Instance Methods
   - (void)URLHandle:(NSURLHandle *)sender 
                                 resourceDataDidBecomeAvailable:(NSData *)newBytes;
   - (void)URLHandleResourceDidBeginLoading:(NSURLHandle *)sender;
   - (void)URLHandleResourceDidFinishLoading:(NSURLHandle *)sender;
   - (void)URLHandleResourceDidCancelLoading:(NSURLHandle *)sender;
   - (void)URLHandle:(NSURLHandle *)sender 
                                 resourceDidFailLoadingWithReason:(NSString *)reason;
@end

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required