• 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
What causes a UITableViewCell to be deallocated?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What causes a UITableViewCell to be deallocated?


  • Subject: What causes a UITableViewCell to be deallocated?
  • From: Laurent Daudelin <email@hidden>
  • Date: Mon, 23 Jan 2012 11:38:35 -0800

Hello.

I'm trying to track a crash in our app where we have a custom UITableView cell that contains a UITextView because we need the ability to display and open links that might be in the text we're displaying in the text view.

The problem is that somehow, the cell is deallocated and WebKit complains that it's been unable to obtain the web lock from a thread other than the main thread or the web thread when it's deallocated. I have reviewed the code and checked all the "reload…" message we might send to the table view that could cause the deallocation of its cells but all of those calls are executed from the main thread using [[NSOperationQueue mainQueue] addOperationWithBlock:^{…}] so I'm stumped. Are there any other situations where UITableView cells would be deallocated? The view displays and the view isn't unloaded due to memory warning or any other situation.

-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin 				http://www.nemesys-soft.com/
Logiciels Nemesys Software					email@hidden


_______________________________________________

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: What causes a UITableViewCell to be deallocated?
      • From: Steve Christensen <email@hidden>
    • Re: What causes a UITableViewCell to be deallocated?
      • From: Luke Hiesterman <email@hidden>
  • Prev by Date: Re: NSOpenPanel problem
  • Next by Date: vForce Performance
  • Previous by thread: Re: Cocoa-dev Digest, Vol 9, Issue 39
  • Next by thread: Re: What causes a UITableViewCell to be deallocated?
  • Index(es):
    • Date
    • Thread