I have a UITableView with pagingEnabled. Each cell takes up the viewing area of the table. Meaning, each cell is the same height and width as the table. I\'m using custom
Simple and elegant way to retrieve visible cells of UITableView
, no need to get visible cells by using indexpath
values
NSArray * visibleCells = tableView.visibleCells;
NSLog(@"Total visible Cells: %i", [visibleCells count]);
If indexpath
's of visible cells are needed
NSArray * paths = [tableView indexPathsForVisibleRows];