• 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: Writing directly to NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing directly to NSTableView


  • Subject: Re: Writing directly to NSTableView
  • From: Scott Anguish <email@hidden>
  • Date: Sun, 3 Aug 2003 01:44:41 -0400

On Sunday, August 3, 2003, at 1:14 AM, Chris Hanson wrote:

On Saturday, August 2, 2003, at 09:16 AM, Sanri Parov wrote:
I'll explain myself better: even if a tableview it empty, by clickin'
on one of its cells, randomly, the content of the cell becomes editable
and after I've inserted something into it (by pressing TAB) a selector
does its job.

You could probably insert a new, empty row when the user clicks on a table.

It'd really be better not to try to subvert MVC here and make NSTableView do data storage. You'll probably wind up with a better interface in the long run.


Actually, I'd question if NSTableView is the appropriate object in this case. It sounds like maybe this is a spreadsheet type of a situation maybe. (NSMatrix perhaps is more appropriate)
_______________________________________________
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: Writing directly to NSTableView
      • From: Sanri Parov <email@hidden>
References: 
 >Re: Writing directly to NSTableView (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: NSTableView Question
  • Next by Date: Re: To add or not to add libraries
  • Previous by thread: Re: Writing directly to NSTableView
  • Next by thread: Re: Writing directly to NSTableView
  • Index(es):
    • Date
    • Thread