Skip navigation.
 
mlRe: Refreshing an NSTableView with an NSMutableArray dataSource
FROM : Hamish Allan
DATE : Mon May 26 20:52:16 2008

On Mon, May 26, 2008 at 7:30 PM, Simon Wolf <<email_removed>> wrote:

> I know this is a horrible newbie question but I am hoping that someone can
> simply confirm that I'm not missing something. Am I correct in assuming that
> the only way to reflect changes made to an NSMutableArray in an NSTableView
> which is using the array as a dataSource is by using reloadData?


Yes. But here's what you may be missing: the NSTableView is not using
the NSMutableArray as a datasource. It is using a controller object
that happens to be quizzing an NSMutableArray to provide its answers,
but could just as well be quizzing a database or a web service.

Hamish

Related mailsAuthorDate
mlRefreshing an NSTableView with an NSMutableArray dataSource Simon Wolf May 26, 20:30
mlRe: Refreshing an NSTableView with an NSMutableArray dataSource Hamish Allan May 26, 20:52
mlRe: Refreshing an NSTableView with an NSMutableArray dataSource Simon Wolf May 26, 21:56