• 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: Still need help with Services. Is there sample code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still need help with Services. Is there sample code?


  • Subject: Re: Still need help with Services. Is there sample code?
  • From: Keary Suska <email@hidden>
  • Date: Thu, 18 Sep 2014 17:13:35 -0600

On Sep 18, 2014, at 3:22 PM, Daryle Walker <email@hidden> wrote:

> I removed the old style type (“NSStringPboardType”) and it still worked. When I changed the “public.plain-text” to “public.url” and tested with the entry field on Firefox, Safari’s “Open URL” service showed up, but my version didn’t! Same thing happened using “NSURLPboardType” as the send type. Renaming the public name of my service, so it wouldn’t match Safari’s, didn’t work. Changing the send-type to “public.url-name” didn’t work.
>
> Now we narrowed what’s wrong. I still don’t know how to fix it.

At this point, you are probably just looking at a UTI issue. Standard UTI's are documneted in the UTCoreTypes.h header. I don't know if they are documented elsewhere. Simply open terminal and execute "locate UTCoreTypes.h" to find the various headers.

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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: Still need help with Services. Is there sample code?
      • From: Daryle Walker <email@hidden>
References: 
 >Still need help with Services. Is there sample code? (From: Daryle Walker <email@hidden>)
 >Re: Still need help with Services. Is there sample code? (From: Keary Suska <email@hidden>)
 >Re: Still need help with Services. Is there sample code? (From: Daryle Walker <email@hidden>)

  • Prev by Date: Re: Still need help with Services. Is there sample code?
  • Next by Date: Raw Swift
  • Previous by thread: Re: Still need help with Services. Is there sample code?
  • Next by thread: Re: Still need help with Services. Is there sample code?
  • Index(es):
    • Date
    • Thread