Re: TableView slow to redraw
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