Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What exactly does reloadData call?

When calling reloadData on a UITableView what methods are actually invoked?

[tableView reloadData];
like image 251
Sheehan Alam Avatar asked Jun 04 '10 19:06

Sheehan Alam


People also ask

What does Reloaddata do?

Reloads the rows and sections of the table view.


1 Answers

The whole table view is reloaded, it calls cellForRowAtIndexPath to get the cells for all your rows and sections...doing so it also calls numberOfSections method of tableView datasource and numberOfRows method of tableview data source etc etc

like image 162
Daniel Avatar answered Oct 14 '22 09:10

Daniel