NSURL custom protocols and CFURL
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