Here is my doubt. I have a tableView which is populated by my Core Data. And each cell has a title, person, text, audio and photo. What I want is, when the user select a cell, I can present, for example the title, in a label on another view controller.
What I've been trying is to pass the info stored in the cell to a NSString, but I don't know how to extract and separate each of the parts (title, person, etc) so I can assign them properly. I already tried using substrings and comparing strings, but I couldn't do it
Just making it clearer:
Imagine a cell with a title "My Cell", a person "John Doe" and so on. When I click on it I want to get the title and set it on a label, same to the person and so on.
undefined method
Although when I try to assign something like - (void)tableView:(nonnull UITableView *)tableView didSelectRowAtIndexPath:(nonnull NSIndexPath *)indexPath {
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
VoESmallThingViewController *voe = [storyboard instantiateViewControllerWithIdentifier:@"VoEView"];
voe.self.smallThing = [self.memory objectAtIndex:indexPath.row];
[self.navigationController pushViewController:voe animated:YES];
}
doesn't work