NSTableView app design
NSTableView app design
- Subject: NSTableView app design
- From: Scott Frankel <email@hidden>
- Date: Thu, 27 Apr 2006 10:02:01 -0700
Following Hillegas, I have questions about using NSTableView objects.
In both Hillegas' chapter on Helper Objects and Apple's online docs
on using NSTableViews, methods are used to explicitly return the
number of rows in a table and the value of an object in a specific
column (as well as setting the value). In the following chapter on
Bindings, none of these methods is called. An NSArrayController
appears to handle those tasks. Do I have this correct? Does using
the view's bindings obviate the need to call
numberOfRowsInTableView:, &c.?
Also, if I understand correctly, a tableView object's data source is
considered part of the app's controller, in M-V-C terms. Using
bindings and key-value coding style accessors, the functionality that
would've been handled by the controller is now accessed directly in/
from the model. Is this correct?
Thanks in advance!
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden