• 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: creating an NSTableColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating an NSTableColumn


  • Subject: Re: creating an NSTableColumn
  • From: Chris Hanson <email@hidden>
  • Date: Fri, 16 Jul 2004 09:43:02 -0700

On Jul 16, 2004, at 8:04 AM, John Spicer wrote:
Seemed the way was to find the row selected, and then read the value in the cell for each column and then create the new object, add it to the dictionary, and reload the table.

The table is just a view on the data, it isn't a container for the data. So rather than reading data out of the table, you should be just duplicating the model object that the table is displaying for that row.

However, I can't figure out how to create the NSTableView from just knowing the name. Does anyone know how?

Could be there is an easier way and I just don't see it.

I'm not sure I understand this in the context of your question.

-- Chris

--
Chris Hanson <email@hidden>
http://www.livejournal.com/users/chanson/
_______________________________________________
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: 
 >creating an NSTableColumn (From: John Spicer <email@hidden>)

  • Prev by Date: Re: More bindings confusion
  • Next by Date: Correction: Re: More bindings confusion
  • Previous by thread: Re: creating an NSTableColumn
  • Next by thread: getting a cell value [was: creating an NSTableColumn}
  • Index(es):
    • Date
    • Thread