Question

Is there a simple way to get array of all index paths for the cells in a UITableView?

Was it helpful?

Solution

Since you are the one that told the table view how many sections and rows per section you had, you can use that same data - or in fact even call the same methods on your data source to ask that question from elsewhere.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top