---
title: updatedObjects
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nsmanagedobjectcontext/updatedobjects
---

# updatedObjects

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

## Declaration

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

## Discussion

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 NSManagedObjectContextObjectsDidChange notification when a change is made, and a NSManagedObjectContextWillSave notification and a NSManagedObjectContextDidSave notification before and after changes are committed respectively.

## See Also

### Related Documentation

- [registeredObjects](coredata/nsmanagedobjectcontext/registeredobjects.md)

### Handling managed objects

- [shouldDeleteInaccessibleFaults](coredata/nsmanagedobjectcontext/shoulddeleteinaccessiblefaults.md)
- [insertedObjects](coredata/nsmanagedobjectcontext/insertedobjects.md)
- [deletedObjects](coredata/nsmanagedobjectcontext/deletedobjects.md)
- [shouldHandleInaccessibleFault(_:for:triggeredByProperty:)](coredata/nsmanagedobjectcontext/shouldhandleinaccessiblefault(_:for:triggeredbyproperty:).md)
- [insert(_:)](coredata/nsmanagedobjectcontext/insert(_:).md)
- [delete(_:)](coredata/nsmanagedobjectcontext/delete(_:).md)
- [assign(_:to:)](coredata/nsmanagedobjectcontext/assign(_:to:).md)
- [obtainPermanentIDs(for:)](coredata/nsmanagedobjectcontext/obtainpermanentids(for:).md)
- [detectConflicts(for:)](coredata/nsmanagedobjectcontext/detectconflicts(for:).md)
- [refresh(_:mergeChanges:)](coredata/nsmanagedobjectcontext/refresh(_:mergechanges:).md)
- [processPendingChanges()](coredata/nsmanagedobjectcontext/processpendingchanges().md)
- [observeValue(forKeyPath:of:change:context:)](coredata/nsmanagedobjectcontext/observevalue(forkeypath:of:change:context:).md)
