Contents

renamingIdentifier

The renaming identifier for the receiver.

Declaration

var renamingIdentifier: String? { get set }

Discussion

The renaming identifier is used to resolve naming conflicts between models. When creating a mapping model between two managed object models, a source entity and a destination entity that share the same identifier indicate that an entity mapping should be configured to migrate from the source to the destination.

If you do not set this value, the identifier will return the entity’s name.

See Also

Getting descriptive information