<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSMigrationManager/destinationEntity(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:objc(cs)NSMigrationManager(im)destinationEntityForEntityMapping:"
  },
  "title" : "destinationEntity(for:)"
}
-->

# destinationEntity(for:)

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

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

## Parameters

`mEntity`

An entity mapping.

## Return Value

The entity description for the destination entity of `mEntity`.

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)