• 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: own protocol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


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

  • Prev by Date: Context Menu disables clicks in NSQuickDrawView
  • Next by Date: Re: own protocol
  • Previous by thread: re: re: own protocol
  • Next by thread: Re: own protocol
  • Index(es):
    • Date
    • Thread