willRemoveCacheNodes(_:)
Method invoked before the store removes the given collection of cache nodes.
Declaration
func willRemoveCacheNodes(_ cacheNodes: Set<NSAtomicStoreCacheNode>)Parameters
- cacheNodes:
The set of cache nodes to remove.
Discussion
This method is invoked by the store before the call to save() with the collection of cache nodes marked as deleted by a managed object context. You can override this method to track the nodes which will not be made persistent in the save() method.
You should not invoke this method directly in a subclass.