Earlier in this chapter you briefly read about the cell reuse in
UITableView. You had to assign a reuse identifier to your
UITableViewCell so the
UITableView knows which cell you want to use. This is done so
UITableView can reuse existing cells. This means that
UITableView only needs to hold the visible cells and some off-screen cells in memory instead of holding one cell for every data point, even if they're off screen. Refer to the following image for a visualization of what this looks like:
You can see that there are only a couple more cells in memory, or rendered, than there are visible cells. The ...