• 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: NSTableView crashing on scroll+update (SOLVED)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSTableView crashing on scroll+update (From: Marcelo Alves <email@hidden>)
 >Re: NSTableView crashing on scroll+update (From: "Shawn Erickson" <email@hidden>)
 >Re: NSTableView crashing on scroll+update (From: Marcelo Alves <email@hidden>)

  • Prev by Date: Re: NSTableView crashing on scroll+update
  • Next by Date: Why does dictionaryWithObjectsAndKeys require a cast?
  • Previous by thread: Re: NSTableView crashing on scroll+update
  • Next by thread: Flipped view confusion
  • Index(es):
    • Date
    • Thread