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

Re: nsurlprotocol subclass


  • Subject: Re: nsurlprotocol subclass
  • From: Dominik Pich <email@hidden>
  • Date: Mon, 05 Jul 2004 18:52:08 +0200

email@hidden wrote:

how do I register a nsurlprotocol subclass on a system wide basis? I can make it work within an app, but not for all apps.

also, how do I define a new scheme and which app to use to handle it? if I want to have mail.app be able to recognize <myscheme://something> and be able to double click it to open it.

thanks

stephane
_______________________________________________
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.





for own scheme you have to do 2 things:

1. add CFBundleURLTypes key
<http://developer.apple.com/documentation/MacOSX/Conceptual/ BPRuntimeConfig/Concepts/PListKeys.html#//apple_ref/doc/uid/20001431/ TPXREF115>
Fill that out in your project's Info.plist file and that ought to do it.

2. On 10.3 use launch services' LSRegisteUrl function to register/unregistet dynamicly

Regards,
Dominik
_______________________________________________
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: 
 >nsurlprotocol subclass (From: email@hidden)

  • Prev by Date: Re: drawing flipped images
  • Next by Date: Strange printing issue (again)
  • Previous by thread: nsurlprotocol subclass
  • Next by thread: network status
  • Index(es):
    • Date
    • Thread