Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: own protocol



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.


References: 
 >re: re: own protocol (From: Dominik Pich <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.