NSFetchedResultsController doesn't fetch up the child-parent moc chain?
- by Kronusdark
I cannot find any clarification on this, so it may be a bug.
Problem is, I have a series of parent-child Managed Object Context's.
When I save on a child context the changes get pushed up to the parent, and I can fetch using a plain old NSFetchRequest.
However, if I rely on an NSFetchedResultsController to pull these changes into a sibling context to the first, they do not see them.
calling -(void)performFetch: error; doesn't seem to pull the changes either.
After a restart of the app, all new data is available.
My hypothesis is that NSFetchedResultsController only fetches from its current context and will not follow the chain to the persistent store.
Can someone please set me straight here?
Am I going to have to use notifications to monitor changes on other contexts?
and finally, is this mentioned somewhere in the doc's? I cannot find it for the life of me.