On Sep 10, 2009, at 12:15 PM, Nick Zitzmann wrote:


On Sep 10, 2009, at 1:08 PM, Peter Ammon wrote:

You should try to pick a UTI that represents your Service accurately. If the UTI you pick does not conform to any category, then it will wind up in General. But if later Apple adds a new category, and your Service's UTI conforms to the new category's UTI, your Service will show up in the new category.

OK, but what if the service has a category but no real UTI? For example, there's a "Searching" category. What's the UTI for searching? I've looked at the list of system-declared UTIs and there's nothing with "search" in its name.

Yes, Searching unfortunately does not have an associated UTI - as you discovered you can specify the category name explicitly in that case.

I'd also better file a bug report about the lack of documentation for NSServiceCategory...

Thanks!

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to