Re: Extending NSURLProtocol
Re: Extending NSURLProtocol
- Subject: Re: Extending NSURLProtocol
- From: John Randolph <email@hidden>
- Date: Wed, 12 Nov 2003 16:39:16 -0800
On Nov 12, 2003, at 3:12 PM, Brian Christensen wrote:
On Nov 12, 2003, at 3:09 PM, Christoph Priebe wrote:
I would like to extend the NSURLProtocol, does anybody know of
some kind of example code to do this?
You can't extend a protocol, as it would break the conformity of any
object that adopted the original protocol.
You can, however make a new protocol that includes an existing one..
@protocol ExtendedNSURLProtocol <NSURLProtocol>
- someAdditionalMethod;
@end
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.