Re: Constantly Updating NSTableViews
Re: Constantly Updating NSTableViews
- Subject: Re: Constantly Updating NSTableViews
- From: David Jeffery <email@hidden>
- Date: Mon, 3 Jan 2005 20:58:54 -0800
Hmm. So is there any Cocoa code in this data-changing layer, or is
there any way you can think of to wrap it in one? If so, how about
using notifications and NSNotificationCenter to get your NSTableView
controller to get the table to update?
On Jan 3, 2005, at 20:46, kelvSYC wrote:
On Jan 3, 2005, at 9:26 PM, David Jeffery wrote:
The obvious answer would be to "constantly" send the reloadData
message to your table view. Or perhaps you just want to update the
scrollers because you're adding data at a fast rate -- the
noteNumberOfRowsChanged message looks promising here.
("Constantly" updating your table view seems like a bad idea, BTW...
what are you trying to accomplish?)
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).
_______________________________________________
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