<!--
{
  "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/NSPropertyMapping",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPropertyMapping"
  },
  "title" : "NSPropertyMapping"
}
-->

# NSPropertyMapping

A mapping instance that specifies in a model how to map from a property in a source entity to a property in a destination entity.

```
class NSPropertyMapping
```

## Topics

### Managing Mapping Attributes

[`name`](/documentation/CoreData/NSPropertyMapping/name)

The name of the property in the destination entity for the property mapping.

[`valueExpression`](/documentation/CoreData/NSPropertyMapping/valueExpression)

The value expression for the property mapping.

[`userInfo`](/documentation/CoreData/NSPropertyMapping/userInfo)

The user info for the property mapping.



---

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)