equal
deleted
inserted
replaced
81 |
81 |
82 // first all the names, then the title (which is offset 5) |
82 // first all the names, then the title (which is offset 5) |
83 cell.textLabel.text = [[self.people objectAtIndex:self.segmentedControl.selectedSegmentIndex] objectAtIndex:[indexPath row]]; |
83 cell.textLabel.text = [[self.people objectAtIndex:self.segmentedControl.selectedSegmentIndex] objectAtIndex:[indexPath row]]; |
84 cell.textLabel.adjustsFontSizeToFitWidth = YES; |
84 cell.textLabel.adjustsFontSizeToFitWidth = YES; |
85 cell.textLabel.minimumFontSize = 8; |
85 cell.textLabel.minimumFontSize = 8; |
86 cell.detailTextLabel.text = [[self.people objectAtIndex:(self.segmentedControl.selectedSegmentIndex + 5)] objectAtIndex:[indexPath row]]; |
86 NSString *detailsKey = [[self.people objectAtIndex:(self.segmentedControl.selectedSegmentIndex + 5)] objectAtIndex:[indexPath row]]; |
|
87 cell.detailTextLabel.text = NSLocalizedStringFromTable(detailsKey, @"About", nil); |
87 |
88 |
88 return cell; |
89 return cell; |
89 } |
90 } |
90 |
91 |
91 #pragma mark - |
92 #pragma mark - |