Skip to content

Instantly share code, notes, and snippets.

@jarinudom
Created March 25, 2009 08:58
Show Gist options
  • Save jarinudom/85377 to your computer and use it in GitHub Desktop.
Save jarinudom/85377 to your computer and use it in GitHub Desktop.
[_exploreTableView beginUpdates];
// Remove Users
NSUInteger count=[_dataArray count];
for(int i=max_val;i<count;i++) {
[_dataArray removeObjectAtIndex:[users count]];
if(_selectedView==kExploreUsersView && _exploreTableView) {
[uiView deleteRowsAtIndexPaths:[NSArray arrayWithObject:[NSIndexPath indexPathForRow:(max_val+2) inSection:0]] withRowAnimation:kDefaultDeleteAnimation];
}
}
[uiView endUpdates];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment