• 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: 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


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: Re: Constantly Updating NSTableViews
  • Previous by thread: Re: Constantly Updating NSTableViews
  • Next by thread: Re: Constantly Updating NSTableViews
  • Index(es):
    • Date
    • Thread