Re: Multiple pasteboard items
Re: Multiple pasteboard items
- Subject: Re: Multiple pasteboard items
- From: David Catmull <email@hidden>
- Date: Thu, 14 Jul 2005 12:24:06 -0700
On Jul 14, 2005, at 10:58 AM, Bryan Prusha wrote:
You aren't required to use the Carbon Drag & Drop API. Continue
using the NSDragging protocol, but when handed the NSPasteboard,
ask for its name. From that you can create a Carbon Pasteboard by
name (w/o clearing) and access to the same data (kind of like toll-
free bridging I guess, you just can't mix and match methods). At
that point, there's nothing keeping your Cocoa application from
making use of the Carbon Pasteboard.
Excellent. That may not be full toll-free bridging, but as long as I
can access the same pasteboard with a multi-item API I'm happy. Thanks!
Hmm.. unfortunately I won't be able to use [NSImageRep
imageRepWithPasteboard:] when there are multiple items, but I think
I'll still be able to cobble something reasonable together.
--
David Catmull
email@hidden
http://www.uncommonplace.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden