Created
August 12, 2016 23:00
-
-
Save littlebobert/b43f068f0dff44bf98ab8b780af349fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath | |
{ | |
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"GuideCell" forIndexPath:indexPath]; | |
if (cell == nil) { | |
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:@"GuideCell"]; | |
} | |
Guide *guide = [self.guides objectAtIndex:indexPath.row]; | |
cell.textLabel.text = guide.name; | |
cell.detailTextLabel.text = @"xxx"; | |
return cell; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment