Re: Writing directly to NSTableView
Re: Writing directly to NSTableView
- Subject: Re: Writing directly to NSTableView
- From: Chris Hanson <email@hidden>
- Date: Sun, 3 Aug 2003 00:14:01 -0500
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.
-- Chris
--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Mac OS X Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: email@hidden
_______________________________________________
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.