• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Extending NSURLProtocol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Extending NSURLProtocol (From: Christoph Priebe <email@hidden>)
 >Re: Extending NSURLProtocol (From: Brian Christensen <email@hidden>)

  • Prev by Date: Re: Terminate on Close
  • Next by Date: Re: Mouse move event
  • Previous by thread: Re: Extending NSURLProtocol
  • Next by thread: Re: Extending NSURLProtocol
  • Index(es):
    • Date
    • Thread