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

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


  • Follow-Ups:
    • Re: Multiple pasteboard items
      • From: Bryan Prusha <email@hidden>
References: 
 >Multiple pasteboard items (From: David Catmull <email@hidden>)
 >Re: Multiple pasteboard items (From: Bryan Prusha <email@hidden>)
 >Re: Multiple pasteboard items (From: David Catmull <email@hidden>)
 >Re: Multiple pasteboard items (From: Bryan Prusha <email@hidden>)

  • Prev by Date: NSManagedObject isDeleted returns NO after deleting object?
  • Next by Date: C++ thread messaging cocoa thread
  • Previous by thread: Re: Multiple pasteboard items
  • Next by thread: Re: Multiple pasteboard items
  • Index(es):
    • Date
    • Thread