Instance Property

destinationContext

The managed object context the migration manager uses for writing the destination persistent store.

Declaration

var destinationContext: NSManagedObjectContext { get }

Discussion

This context is created on demand as part of the initialization of the Core Data stacks used for migration.

See Also

Getting Information About a Migration Manager

var mappingModel: NSMappingModel

The mapping model for the migration manager.

var sourceModel: NSManagedObjectModel

The source model for the migration manager.

var destinationModel: NSManagedObjectModel

The destination model for the migration manager.

func sourceEntity(for: NSEntityMapping) -> NSEntityDescription?

Returns the entity description for the source entity of a given entity mapping.

func destinationEntity(for: NSEntityMapping) -> NSEntityDescription?

Returns the entity description for the destination entity of a given entity mapping.

var sourceContext: NSManagedObjectContext

The managed object context the migration manager uses for reading the source persistent store.

var userInfo: [AnyHashable : Any]?

The user info for the migration manager.