NSServiceCategory
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