Re: NSTableView crashing on scroll+update (SOLVED)
Re: NSTableView crashing on scroll+update (SOLVED)
- Subject: Re: NSTableView crashing on scroll+update (SOLVED)
- From: Marcelo Alves <email@hidden>
- Date: Tue, 31 Jul 2007 15:42:45 -0300
Are you sure you are only updating on the main thread?
Why the use of @synchronized in the above if updates only take place
on the main thread?
-Shawn
I think I found a solution. Moved the allocation of the new items to
the main thread and used allocWithZone:, instead of alloc, avoiding
the NSAutoReleasePool from the secondary thread. Solved a brief UI
freeze while updating the list too.
Thanks everyone.
:: marcelo.alves
_______________________________________________
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