didMigrateHandler
The handler to execute after the stage runs.
Declaration
var didMigrateHandler: ((NSStagedMigrationManager, NSCustomMigrationStage) throws -> Void)? { get set }Discussion
Use this handler to perform any cleanup tasks on the persistent store’s data after the migration has run. Access the store using the container property of the handler’s migrationManager parameter.