Is it possible to get array of all index paths for the cells in a UITableView?
-
18-09-2019 - |
Question
Is there a simple way to get array of all index paths for the cells in a UITableView?
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