Re: own protocol
Re: own protocol
- Subject: Re: own protocol
- From: Dustin Voss <email@hidden>
- Date: Wed, 30 Jun 2004 13:08:29 -0700
On 30 Jun, 2004, at 11:20 AM, Dominik Pich wrote:
Nick Zitzmann wrote:
On Jun 24, 2004, at 5:21 AM, Dominik Pich wrote:
How can I register for a protocol (e.g. mine://)
Do I have to use the NSUrlProtocol class (if so - how)
There are two ways:
1. Use Internet Config; search the archives for details.
2. Use LSRegisterURL() in the Launch Services framework, which only
works in Mac OS X 10.3 and later.
aeh... that registers my application but doesnt let me specify which
protocol to register for...
:( other ideas? Do I have to do sth. else?
There is a info.plist key, CFBundleURLTypes, that you can use. See
<
http://developer.apple.com/documentation/MacOSX/Conceptual/
BPRuntimeConfig/Concepts/PListKeys.html#//apple_ref/doc/uid/20001431/
TPXREF115>.
_______________________________________________
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.