Re: Drag + Drop in Tableview using NSArrayController
Re: Drag + Drop in Tableview using NSArrayController
- Subject: Re: Drag + Drop in Tableview using NSArrayController
- From: Scott Anguish <email@hidden>
- Date: Wed, 17 Mar 2004 00:35:11 -0500
On Mar 16, 2004, at 8:41 PM, Francisco Tolmasky wrote:
THe documentation says that to implement dropping in nstableview you
should have your data source define
tableView:acceptDrop:row:dropOperation:. The problem is, when I use an
NSArrayController, I don't have a data source, so what exactly should I
do?
As others have mentioned, you can add a datasource for this.
In fact, the data source can be used for populating some columns,
while others are populated using bindings. (for example, if you wanted
a numbered column as the first column.
This will be in an upcoming rev of those docs.
Scott
_______________________________________________
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.