• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTableView & Drag&Drop: What dataSource, What Delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSTableView & Drag&Drop: What dataSource, What Delegate
      • From: Ryan Bates <email@hidden>
    • Re: NSTableView & Drag&Drop: What dataSource, What Delegate
      • From: Pete Yandell <email@hidden>
  • Prev by Date: Re: -[NSTextView complete:] behavior with < 2 character word range
  • Next by Date: Re: static objects "autoreleased with no pool in place - just leaking"
  • Previous by thread: NSTextView insertion point doesn't reflect paragraphSpacingBefore
  • Next by thread: Re: NSTableView & Drag&Drop: What dataSource, What Delegate
  • Index(es):
    • Date
    • Thread