• 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: Strings mangled on generalPasteboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strings mangled on generalPasteboard


  • Subject: Re: Strings mangled on generalPasteboard
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 23 Nov 2009 13:04:35 -0800

On Nov 23, 2009, at 10:30 AM, mmalc Crawford wrote:

> This is no longer true with Mac OS X v10.6 and later -- you can write and read multiple URLs to and from to the pasteboard.

That's nice to know.

> e.g.
>    [url pasteboardPropertyListForType:(NSString *)kUTTypeURL]

But that still only writes a single NSURL, right? How do you write multiple using that API?

Another area where WebKit's undocumented pasteboard type is still superior is that it associates names with the URLs — so if the user drags bookmarks out of Safari into your app, you get the titles of the bookmarks as well as the URLs. This is useful for apps like Yojimbo, etc. that want to be able to store dragged-in URLs in mnemonic form.

—Jens_______________________________________________

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: Strings mangled on generalPasteboard
      • From: mmalc Crawford <email@hidden>
    • Re: Strings mangled on generalPasteboard
      • From: Kyle Sluder <email@hidden>
References: 
 >Strings mangled on generalPasteboard (From: Kevin Walzer <email@hidden>)
 >Re: Strings mangled on generalPasteboard (From: Jens Alfke <email@hidden>)
 >Re: Strings mangled on generalPasteboard (From: mmalc Crawford <email@hidden>)

  • Prev by Date: Re: Best approach to write an uninstaller for osx
  • Next by Date: Re: CATransition for whole windows?
  • Previous by thread: Re: Strings mangled on generalPasteboard
  • Next by thread: Re: Strings mangled on generalPasteboard
  • Index(es):
    • Date
    • Thread