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

# updatedObjects

The set of objects registered with the context that have uncommitted changes.

```
var updatedObjects: Set<NSManagedObject> { get }
```

## Discussion

A managed object context does not post key-value observing notifications when the return value of `updatedObjects` changes. A context does, however, post a <doc://com.apple.documentation/documentation/Foundation/NSNotification/Name-swift.struct/NSManagedObjectContextObjectsDidChange> notification when a change is made, and a <doc://com.apple.documentation/documentation/Foundation/NSNotification/Name-swift.struct/NSManagedObjectContextWillSave> notification and a <doc://com.apple.documentation/documentation/Foundation/NSNotification/Name-swift.struct/NSManagedObjectContextDidSave> notification before and after changes are committed respectively.

## See Also

[`registeredObjects`](/documentation/CoreData/NSManagedObjectContext/registeredObjects)

The set of registered managed objects in the context.



---

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)