• 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: Drag + Drop in Tableview using NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Drag + Drop in Tableview using NSArrayController (From: Francisco Tolmasky <email@hidden>)

  • Prev by Date: Re: Using bindings with an NSArray of NSStrings ?
  • Next by Date: Re: [Q] mapping graphical items to NSViews
  • Previous by thread: Re: Drag + Drop in Tableview using NSArrayController
  • Next by thread: [Q] NSFileWrapper and document bundles
  • Index(es):
    • Date
    • Thread