Could you please help me populate my left detail cell?
what i need is to use the Attribute key from my core Data as the left detail and the content of the Attribute as the Title.
I have fetched an object into an array and I need help displaying the data on the cell
if (matchingData.count <= 0)
{
cell.textLabel.text = @"no item found";
}
else {
NSString *displayData;
for (NSManagedObject *obj in matchingData) {
displayData = [obj valueForKey:@"Name"];
cell.detailTextLabel.text = displayData;
cell.textLabel.text = @"Name";
}
}
what do I need to do in order to get the Table view displaying just like the apple contacts app?