---
title: currentModel
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nscustommigrationstage/currentmodel
---

# currentModel

The reference that represents the migration’s source model.

## Declaration

```swift
var currentModel: NSManagedObjectModelReference { get }
```

## Discussion

Discussion Core Data sets this property to the currentModel parameter you specify when creating the migration stage.

## See Also

### Accessing model references

- [nextModel](coredata/nscustommigrationstage/nextmodel.md)
