Advertisement
Guest User

Untitled

a guest
Apr 19th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
  2. id<ITKNotificationCell> cell = [self.tableController getCell:[self.delegate getCellClass] forIndexPath:indexPath];
  3. cell.accessibilityLabel = [NSString stringWithFormat:@"cell:%li", (long)indexPath.row];
  4.  
  5. id<ITKModelNotification> model = [self.dataSource getModelForIndexPath:indexPath];
  6.  
  7. [cell displayModel:model];
  8. [cell setSelectionEnabled:self.isSelectionEnabled animated:YES];
  9.  
  10. return (UITableViewCell*) cell;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement