NSTableView & Drag&Drop: What dataSource, What Delegate
NSTableView & Drag&Drop: What dataSource, What Delegate
- Subject: NSTableView & Drag&Drop: What dataSource, What Delegate
- From: Roberto Sobachi <email@hidden>
- Date: Sat, 14 Feb 2004 00:06:13 +0100
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.