I've got a NSPredicate
on my FRC's fetchRequest
. At some point an object is added to CoreData, I create a new predicate, update the fetchRequest
and perform a fetch:
self.fetchedAddressesController.fetchRequest.predicate = self.predicate;
BOOL success = [self.fetchedAddressesController performFetch:nil];
This does however not invoke the FRC's delegate methods like controllerWillChangeContent:
. And my table view is not updated.
However, when I add the following line:
[self.tableView reloadData];
below the two shown above, I do see the expected update. This shows that the data to be displayed has indeed changed.
I've checked the new predicate and it's fine. I also set FRC's delegate
to self
, and its methods are invoked in other cases.
Any ideas already what could be wrong?