To add a new cell at the bottom of your list that will get the next set when you click it, do the following
In the ...
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
Add 1 extra row if there is more to retrieve
return totalCount > [list count]?[list count]+1:[list count]
Then for the last cell in ...
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
create the 'Load more' cell if it's required
[[NSBundle mainBundle] loadNibNamed:@"LoadMoreCell" owner:self options:nil];
LoadMoreCell *cell = loadMoreCell;
NSString *loadMore = [NSString string with Format:@"Load %d more...", numberToLoad];
Then in ...
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
do what is required to update the list of items in the tableview with the new amount