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

NSServiceCategory


  • Subject: NSServiceCategory
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 10 Sep 2009 11:30:53 -0600

I have a service that can apply to multiple categories due to the pasteboard types it accepts. In Snow Leopard, for some reason, the service always shows up under the Pictures category even though it also accepts text. I want it to show up in the General category.

I'm aware of an apparently undocumented NSRequiredContext key called NSServiceCategory that manually sets the service category in the Keyboard preference pane, which is useful when the pane does not correctly categorize the service, which I'm guessing it does based on the name and pasteboard type. I know that you can use a UTI here to set the category, but what's the UTI for the "general" category? I tried searching for NSServiceCategory and found nothing, and searching for UTIs gives me results for a different meaning of UTI...

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSServiceCategory
      • From: Peter Ammon <email@hidden>
    • Re: NSServiceCategory
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: NSImage - drawInRect SnowLeopard issue
  • Next by Date: Re: CGWindowListCreateImage fails on Snow Leopard with kCGNullWindowID
  • Previous by thread: Re: IKSlideshow reloadData should reload, yes?
  • Next by thread: Re: NSServiceCategory
  • Index(es):
    • Date
    • Thread