Re: What causes a UITableViewCell to be deallocated?

2012-01-23 Thread Luke Hiesterman
Think about it simply. A cell gets deallocated just like any other object - when its retain count goes to zero. If you're looking for a cell getting deallocated on a non-main thread, you're looking for a place release is being called on a non-main thread. I would think you could just override

Re: What causes a UITableViewCell to be deallocated?

2012-01-23 Thread Laurent Daudelin
It seems that the deallocation happens when a block is being deallocated. Is it possible that a block ran on the main queue of an NSOperationQueue could be deallocated in another thread? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin

Re: What causes a UITableViewCell to be deallocated?

2012-01-23 Thread Steve Christensen
A UITableViewCell could be deallocated as soon as its row scrolls out of view. UITableView will reuse cells if you specify a reuse identifier, but I don't believe that the docs actually specify the number of cells that are reused. I'm assuming that the web view is displayed when the user taps a

Re: What causes a UITableViewCell to be deallocated?

2012-01-23 Thread Laurent Daudelin
Steve, There are no web views. Because we're using a UITextView, it loads the WebKit behind the scene (I guess to support links that could appear in the text in the UITextView) and when that UITextView is deallocated from another thread than the main thread or the webkit thread, it raises an