switch (indexPath.row) { case 0: { cell.textLabel.text = NSLocalizedString(@"album", @"album label"); cell.detailTextLabel.text = song.album; } break; case 1: { cell.textLabel.text = NSLocalizedString(@"artist", @"artist label"); cell.detailTextLabel.text = song.artist; } break; case 2: { cell.textLabel.text = NSLocalizedString(@"category", @"category label"); cell.detailTextLabel.text = song.category; } break; case 3: { cell.textLabel.text = NSLocalizedString(@"released", @"released label"); cell.detailTextLabel.text = [self.dateFormatter stringFromDate:song.releaseDate]; } break; }