Размещение динамического изображения и текста в пользовательской ячейке xcode
Я пишу приложение, в котором люди отображаются в виде таблицы.
Это код в PictureListMainTable.m
// Get the core data object we need to use to populate this table cell
Pictures *currentCell = [pictureListData objectAtIndex:indexPath.row];
UIImageView *myImg = (UIImageView *)[cell viewWithTag:100];
// Fill in the cell contents
cell.textLabel.text = [currentCell title];
cell.detailTextLabel.text = [currentCell desc];
cell.imageView.contentMode = UIViewContentModeScaleAspectFit;
cell.imageView.image = [UIImage imageWithData:[currentCell smallPicture]];
cell.telephoneNumber = [currentCell desc];
cell.delegate = self;
return cell;
Я пытаюсь добиться чего-то вроде этого:
Любые идеи о том, что я должен делать?