Contents

endInstanceCreation(forMapping:manager:)

Indicates the end of the instance creation stage for the specified entity mapping, and the precursor to the next migration stage.

Declaration

func endInstanceCreation(forMapping mapping: NSEntityMapping, manager: NSMigrationManager) throws

Parameters

  • mapping:

    The mapping object in use.

  • manager:

    The migration manager performing the migration.

Discussion

You can override this method to clean up state from the creation of destination or to prepare state for the creation of relationships.

See Also

Customizing Stages of the Mapping Life Cycle