• 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
NSURL custom protocols and CFURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURL custom protocols and CFURL


  • Subject: NSURL custom protocols and CFURL
  • From: Simon Liu <email@hidden>
  • Date: Wed, 5 Oct 2005 11:44:35 +0100

Hi,

I have a custom URLProtocol class which is working within the Cocoa world.
Can I also have custom URL protocol handlers in the CFURL world?

CGImageSourceCreateWithURL() accepts a CFURL. When I pass in my custom NSURL
e.g. simon://1.2.3.4, cast as a CFURL, my custom URLProtocol class never
gets the -canInitWithRequest method invoked.

Is this the expected behaviour? Is there an equivalent of the NSURL custom
protocol loading mechanism in the CFURL world? I would like to be able to
use CGImageSourceCreateWithURL() with a custom URL protocol.

---
Regards,
Simon
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Optimizing PDFKit
  • Next by Date: How to show choose file dialog box in cocoa?
  • Previous by thread: Persistent Document Tutorial Trouble
  • Next by thread: How to show choose file dialog box in cocoa?
  • Index(es):
    • Date
    • Thread