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

Minimizing NSTableView redraws


  • Subject: Minimizing NSTableView redraws
  • From: email@hidden
  • Date: Thu, 31 Oct 2013 10:01:22 -0700

I have an NSTableView with as many as 40 rows and 12 columns. Each row in my tableview represents one of my model objects. I use a detail view to edit objects that are displayed in the tableview. I have an NSTextView that is set to continuously update when a user modifies the NSAttributed string of my model object.

As my list of rows grows, text entry in my NSTextView crawls to a slow. 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?

Patrick
_______________________________________________

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


  • Follow-Ups:
    • Re: Minimizing NSTableView redraws
      • From: Graham Cox <email@hidden>
    • Re: Minimizing NSTableView redraws
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: NSSearchField and CR
  • Next by Date: Re: 10.9: Some Async Saving is ON even if you say NO?
  • Previous by thread: Re: 10.9 Bug in Core Data : Entity Description methods
  • Next by thread: Re: Minimizing NSTableView redraws
  • Index(es):
    • Date
    • Thread