Contents

endRelationshipCreation(forMapping:manager:)

Indicates the end of the relationship creation stage for the specified entity mapping.

Declaration

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

Parameters

  • mapping:

    The mapping object in use.

  • manager:

    The migration manager performing the migration.

Discussion

This method is invoked after createRelationships(forDestination:in:manager:); you can override it to clean up state from the creation of relationships, or prepare state for custom validation in performCustomValidation(forMapping:manager:).

See Also

Customizing Stages of the Mapping Life Cycle