Re: Drag with NSTableView
Re: Drag with NSTableView
- Subject: Re: Drag with NSTableView
- From: "I. Savant" <email@hidden>
- Date: Mon, 13 Aug 2007 07:12:55 -0400
On Aug 13, 2007, at 6:17 AM, Livio Isaia wrote:
Unfortunately nothing happens, I mean the methods for dragging
(e.g. (BOOL)tableView:writeRowsWithIndexes:toPasteboard:) are never
called.
Practically I followed all the steps I found in Drag and "Drop
Programming Topics for Cocoa"->"Using Drag and Drop in Tables" (I
also looked at the samples DragNDropOutlineView and
WithAndWithoutBindings).
Please search the list's archives before posting as this is a
super-FAQ. You need to -registerForDraggedTypes: which is,
incidentally, STEP ONE in the documentation:
http://developer.apple.com/documentation/Cocoa/Conceptual/TableView/
Tasks/UsingDragAndDrop.html
--
I.S.
_______________________________________________
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