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

Re: NSServiceCategory


  • Subject: Re: NSServiceCategory
  • From: Peter Ammon <email@hidden>
  • Date: Thu, 10 Sep 2009 12:30:43 -0700


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 (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: Nick Zitzmann <email@hidden>
References: 
 >NSServiceCategory (From: Nick Zitzmann <email@hidden>)
 >Re: NSServiceCategory (From: Peter Ammon <email@hidden>)
 >Re: NSServiceCategory (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Is Core Data appropriate to my task?
  • Next by Date: Re: NSServiceCategory
  • Previous by thread: Re: NSServiceCategory
  • Next by thread: Re: NSServiceCategory
  • Index(es):
    • Date
    • Thread