init(migratingFrom:to:)
Creates a custom migration stage with the specified source and destination model references.
Declaration
convenience init(migratingFrom currentModel: NSManagedObjectModelReference, to nextModel: NSManagedObjectModelReference)Parameters
- currentModel:
The reference that represents the migration’s source model.
- nextModel:
The reference that represents the migration’s destination model.