Re: NSTableView selection
Re: NSTableView selection
- Subject: Re: NSTableView selection
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 10 Nov 2003 22:04:32 -0800
On Nov 10, 2003, at 9:40 PM, Elisabeth Freeman wrote:
I'm having problems figuring out how to correctly implement drag and
drop on a table view because of the way the table section works.
I am using a selectedRowEnumerator to look at all objects that are
being dragged - that is all selected objects.
I suspect you need to look at:
<
http://developer.apple.com/documentation/Cocoa/Conceptual/TableView/
index.html>
"Beginning a Drag Operation
When a drag operation begins, the tables data source is sent the
message tableView:writeRows:toPasteboard:. If the data source supports
dragging, it should place the row data onto the provided pasteboard and
return YES. If, for some reason, the data source wants to prevent the
drag operation, return NO."
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.