Instance Method

willRemoveFromPersistentStoreCoordinator:

Invoked before the persistent store is removed from the persistent store coordinator.

Declaration

- (void)willRemoveFromPersistentStoreCoordinator:(NSPersistentStoreCoordinator *)coordinator;

Parameters

coordinator

The persistent store coordinator from which the receiver was removed.

Discussion

The default implementation does nothing. You can override this method in a subclass in order to perform any clean-up before the store is removed from the coordinator (and deallocated).

See Also

Creating and Destroying a Persistent Store

- didAddToPersistentStoreCoordinator:

Invoked after the persistent store has been added to the persistent store coordinator.