Re: NSTableView & Drag&Drop: What dataSource, What Delegate
Re: NSTableView & Drag&Drop: What dataSource, What Delegate
- Subject: Re: NSTableView & Drag&Drop: What dataSource, What Delegate
- From: Pete Yandell <email@hidden>
- Date: Sat, 14 Feb 2004 10:22:07 +1100
RTFM.
file:///Developer/Documentation/Cocoa/Reference/ApplicationKit/
ObjC_classic/Classes/NSTableView.html#250725
file:///Developer/Documentation/Cocoa/Reference/ApplicationKit/
ObjC_classic/Protocols/NSTableDataSource.html
Pete Yandell
http://pete.yandell.com/
On 14/02/2004, at 10:06 AM, Roberto Sobachi wrote:
In some e-mail send by users about NSTableView & Drag&Drop implement,
is not so clear which functions must be inserted into dataSource class
and which functions in delegate class.
For example, the below function, seems it must be inserted into
delegate class, but in my code it works only in dataSource class of my
NSTableView.
Which in delegate and which in dataSource class?
- (BOOL)tableView:(NSTableView*)tv acceptDrop:(id
<NSDraggingInfo>)info
row:(int)row dropOperation:(NSTableViewDropOperation)op
{
return YES;
}
Roberto Sobachi
_______________________________________________
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.
_______________________________________________
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.