---
title: "destinationEntity(for:)"
framework: coredata
role: symbol
role_heading: Instance Method
path: "coredata/nsmigrationmanager/destinationentity(for:)"
---

# destinationEntity(for:)

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

## Declaration

```swift
func destinationEntity(for mEntity: NSEntityMapping) -> NSEntityDescription?
```

## Parameters

- `mEntity`: An entity mapping.

## Return Value

Return Value The entity description for the destination entity of mEntity.

## Discussion

Discussion Entity mappings do not store the actual description objects, but rather the name and version information of the entity.

## See Also

### Getting the Manager’s Configuration

- [destinationContext](coredata/nsmigrationmanager/destinationcontext.md)
- [destinationModel](coredata/nsmigrationmanager/destinationmodel.md)
- [mappingModel](coredata/nsmigrationmanager/mappingmodel.md)
- [sourceContext](coredata/nsmigrationmanager/sourcecontext.md)
- [sourceModel](coredata/nsmigrationmanager/sourcemodel.md)
- [sourceEntity(for:)](coredata/nsmigrationmanager/sourceentity(for:).md)
