Re: Constantly Updating NSTableViews
Re: Constantly Updating NSTableViews
- Subject: Re: Constantly Updating NSTableViews
- From: Charlton Wilbur <email@hidden>
- Date: Mon, 3 Jan 2005 23:55:06 -0500
On Jan 3, 2005, at 11:46 PM, kelvSYC wrote:
I'm using this as the data that is to be displayed contains
"relatively volatile" data. That is, the code that the data is
changed is in another part of the program (where it has no access to
the NSTableView for one of a number of reasons, among them
portability).
Would it make sense for the part of the program that actually changes
the data to post a notification that the NSTableView's window's
controller can look for? The window controller could then send the
appropriate reloadData message. You could isolate all the relevant
code in the model and wrap it in #ifdef/#endif to make it compile only
if needed.
Charlton
--
Charlton Wilbur
email@hidden
email@hidden
_______________________________________________
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