Advertisement
Guest User

Untitled

a guest
Aug 9th, 2017
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  2. {
  3.     static NSString *CellIdentifier = @"Cell";
  4.    
  5.     UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  6.     if (cell == nil) {
  7.         cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
  8.     }
  9.  
  10.     // Configure the cell.
  11.    
  12.     cell.textLabel.text = @"Hello";
  13.     cell.detailTextLabel.text = @"Hello";
  14.            
  15.     return cell;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement