Saturday, 10 August 2013

How do I know whether a UITablViewCell currently exists?

How do I know whether a UITablViewCell currently exists?

Given the indexPath of a UITableViewCell, I want to know whether the cell
currently exists.
I know how to check if it's on the screen (use
tableView.indexPathsForVisibleRows). However, I also want to know if it's
off the screen but already created (assuming the user has scrolled but it
hasn't quite entered the screen are yet).
How do I do this?

No comments:

Post a Comment