• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Constantly Updating NSTableViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Constantly Updating NSTableViews (From: kelvSYC <email@hidden>)
 >Re: Constantly Updating NSTableViews (From: David Jeffery <email@hidden>)
 >Re: Constantly Updating NSTableViews (From: kelvSYC <email@hidden>)

  • Prev by Date: Re: Constantly Updating NSTableViews
  • Next by Date: NSBox addSubview positioning
  • Previous by thread: Re: Constantly Updating NSTableViews
  • Next by thread: Sound Mgr Examples? Do they even exist?
  • Index(es):
    • Date
    • Thread