Advertisement
RRK

Untitled

RRK
Sep 27th, 2012
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Adding rows into the table dynamically and refreshing it
  2.  
  3.     NSIndexPath *indexPathToAdd = [NSIndexPath indexPathForRow:0 inSection:0];
  4.         [m_tableView beginUpdates];
  5.         [m_array insertObject:m_Object atIndex:0];        
  6.         [m_tableView insertRowsAtIndexPaths:[NSArray arrayWithObject:indexPathToAdd]    withRowAnimation:UITableViewRowAnimationAutomatic];
  7.         [m_tableView endUpdates];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement