• 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
Table with cells as dragging destination?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Table with cells as dragging destination?


  • Subject: Table with cells as dragging destination?
  • From: Izak van Langevelde <email@hidden>
  • Date: Thu, 8 Apr 2010 11:26:47 -0400

What I need is a table where some columns show images as data.
It should be possible to drag images and image files onto these cells.

I implemented the table as an NSTableView with NSImageCells, I know about the standard drag and drop for table rows.
However, I am clueless about how to use cells as dragging destination.
Am I supposed to subclass NSTableView, and implement drag and drop, including all gory details? Are there any examples available?
Is there another view more suitable for what I'm trying to achieve?

Thanks,
Izak
---
Grinnikend door het leven...

_______________________________________________

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: Table with cells as dragging destination?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Problem with reading an NSPipe->NSFileHandle to end
  • Next by Date: Re:Changing the drag image on the fly
  • Previous by thread: Re: Problem with reading an NSPipe->NSFileHandle to end
  • Next by thread: Re: Table with cells as dragging destination?
  • Index(es):
    • Date
    • Thread