• 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
Re: NSTableView selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >NSTableView selection (From: Elisabeth Freeman <email@hidden>)

  • Prev by Date: NSTableView selection
  • Next by Date: Re: itunes for windows HOWTO ??? (oh the humanity)
  • Previous by thread: NSTableView selection
  • Next by thread: Re: NSTableView selection
  • Index(es):
    • Date
    • Thread