iPhone: How to purge a cached UITableViewCell

Posted by iPhone dev on Stack Overflow See other posts from Stack Overflow or by iPhone dev
Published on 2010-02-18T06:13:37Z Indexed on 2010/04/05 11:03 UTC
Read the original article Hit count: 346

iPhone SDK question: Does anyone have suggestions on how to purge a cached UITableViewCell

I'd like to cache these cells with reuseIdentifier. However, there are times when I need to delete or modify some of the table rows. I expect to call reloadData after the row changes.

Right now, dequeueReusableCellWithIdentifier always returns the cached(obsolete) entry from before. How do I indicate that the cache is stale and needs to be purged ?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uitableviewcell