• 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: TableView slow to redraw
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TableView slow to redraw


  • Subject: Re: TableView slow to redraw
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 08 Jun 2011 09:42:49 +1000
  • Thread-topic: TableView slow to redraw

It's slow because, well, it takes time. All you can do is try to speed it
up. Using a variable containing a reference to the column would avoid
getting an identifier and coercing it every time, but I suspect the big
killer is that you're calling arrangedObjects() on every cell.

If you can work out how to cache that -- or even cache just the values for
tCheckbox -- that might help.

Perhaps using a second array controller bound to the first, with a key path
of tCheckbox and a class of NSArray, might speed things up a bit (or it
might not...).

The other option is to rewrite that bit in Objective-C...

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >TableView slow to redraw (From: Doug Adams <email@hidden>)

  • Prev by Date: TableView slow to redraw
  • Next by Date: Re:TableView slow to redraw
  • Previous by thread: TableView slow to redraw
  • Next by thread: Re:TableView slow to redraw
  • Index(es):
    • Date
    • Thread