In the following code:
NSFetchedResultsController *frc =
[[NSFetchedResultsController alloc]
initWithFetchRequest:fetchRequest
managedObjectContext:myManagedObjectContext
sectionNameKeyPath:@"store"
cacheName:@"SomeCache"
];
The @ "store" value for sectionNameKeyPath actually refers to a Store object that has a name attribute that I really need as the title of the section header.
But the way my code is configured cannot be done, because instead I get the section headers: 0x5b504f0 0x5b51190 What code address addresses for the Store object are retrieved, as far as I can tell.
How can I use NSFetchedResultsController so that I can tell him that I want it to retrieve the name attribute of what it retrieves from the NameKeyPath: @ "store" section? Or is there another workaround?