Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  2. {
  3. UITableViewCell *cell;
  4. cell = [self.tableView dequeueReusableCellWithIdentifier:@"Device Cell" forIndexPath:indexPath];
  5. if (!cell) {
  6. cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"Device Cell"];
  7. }
  8. cell.textLabel.text = [self getTitleForIndexPath:indexPath];
  9. return cell;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement