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 (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