<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSEntityDescription/managedObjectModel",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:objc(cs)NSEntityDescription(py)managedObjectModel"
  },
  "title" : "managedObjectModel"
}
-->

# managedObjectModel

The managed object model with which the receiver is associated.

```
unowned(unsafe) var managedObjectModel: NSManagedObjectModel { get }
```

## See Also

[`setEntities(_:forConfigurationName:)`](/documentation/CoreData/NSManagedObjectModel/setEntities(_:forConfigurationName:))

Associates the specified entities with the model using the given configuration name.

[`entities`](/documentation/CoreData/NSManagedObjectModel/entities)

The entities in the model.



---

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)