• 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: Minimizing NSTableView redraws
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minimizing NSTableView redraws


  • Subject: Re: Minimizing NSTableView redraws
  • From: Graham Cox <email@hidden>
  • Date: Thu, 31 Oct 2013 23:03:47 +0100

On 31 Oct 2013, at 6:01 pm, email@hidden wrote:

> I have profiled my code and it appears that "set to continuously update" marks the whole table view for update. On every keypress, the whole entire NSTableView is redrawn.
>
> Is there any strategy to minimize this full redraw?


You don’t mention how the text view is coupled to the table view. If you are doing this through a data source controller of your own, it’s up to you how to handle the update, for example by only calling for the relevant row to be reloaded. If you’re using bindings, you’re at the mercy of its implementation, so that might not be the best way forward for this case.

—Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Minimizing NSTableView redraws (From: email@hidden)

  • Prev by Date: Re: Minimizing NSTableView redraws
  • Next by Date: Re: 10.9: Some Async Saving is ON even if you say NO?
  • Previous by thread: Re: Minimizing NSTableView redraws
  • Index(es):
    • Date
    • Thread