Without reference cycles NSFetchedResultsController
can turn its managed objects into fault properly when they are not needed. But with reference cycles, it not, so I have to re-fault those objects myself. However, manually re-faulting objects managed by NSFetchedResultsController
is dangerous. So I want know what you Core Data
experts think is the best way to trim object graph brought in by NSFetchedResultsController
. Thanks.
Update:
I believe normally FRC should be able to re-fault objects, even with reference cycles. I have the impression that it is not because of an old bug that I reported to Apple in 2012 whose state is still Open: FRC never re-faults newly inserted objects (after saving), so I have to manually re-fault them. Here is my test project: http://d.pr/f/Ohe3.