Contents

end(_:manager:)

Performs cleanup at the end of the migration, from any phase of the mapping.

Declaration

func end(_ mapping: NSEntityMapping, manager: NSMigrationManager) throws

Parameters

  • mapping:

    The mapping object in use.

  • manager:

    The migration manager performing the migration.

Discussion

This is the end to the given entity mapping. You can implement this method to perform any clean-up at the end of the migration (from any of the three phases of the mapping).

See Also

Customizing Stages of the Mapping Life Cycle