UITableViewCells are used for reuse / reuse in such a way that users do not need to create more cells than the number of visible ones. Usually you do not need access to a cell that is not displayed. It is enough to get access to the data source and get / set the corresponding data there. Cells are designed to display some state of the data source. Not the data source itself :)
Edit:
You said that you need information (text) from one cell above, right? If you use the cellForRowAtIndexPath: method, the cell will be recreated, but you may not get the text that was in the text box. Cause? because you probably haven’t saved it elsewhere. If you saved it, then get access to it directly, and not through the cell.
nacho4d
source share