---
title: changedValuesForCurrentEvent()
framework: coredata
role: symbol
role_heading: Instance Method
path: coredata/nsmanagedobject/changedvaluesforcurrentevent()
---

# changedValuesForCurrentEvent()

Returns a dictionary containing the keys and new values of persistent properties with changes since the last fetching or saving of the managed object.

## Declaration

```swift
func changedValuesForCurrentEvent() -> [String : Any]
```

## Return Value

Return Value A dictionary with keys that are the names of persistent properties with changes since the last posting of NSManagedObjectContextObjectsDidChange, and with the new values for those properties.

## Discussion

Discussion This method only reports changes to properties that are persistent properties of the receiver, not changes to transient properties or custom instance variables. note: In Objective-C, this method returns the keys and values of persistent properties with changes since the last posting of NSManagedObjectContextObjectsDidChangeNotification.

## See Also

### Managing Change Events

- [contextShouldIgnoreUnmodeledPropertyChanges](coredata/nsmanagedobject/contextshouldignoreunmodeledpropertychanges.md)
- [awakeFromFetch()](coredata/nsmanagedobject/awakefromfetch().md)
- [awakeFromInsert()](coredata/nsmanagedobject/awakefrominsert().md)
- [awake(fromSnapshotEvents:)](coredata/nsmanagedobject/awake(fromsnapshotevents:).md)
- [changedValues()](coredata/nsmanagedobject/changedvalues().md)
- [committedValues(forKeys:)](coredata/nsmanagedobject/committedvalues(forkeys:).md)
- [prepareForDeletion()](coredata/nsmanagedobject/preparefordeletion().md)
- [willSave()](coredata/nsmanagedobject/willsave().md)
- [didSave()](coredata/nsmanagedobject/didsave().md)
- [willTurnIntoFault()](coredata/nsmanagedobject/willturnintofault().md)
- [didTurnIntoFault()](coredata/nsmanagedobject/didturnintofault().md)
- [fetchRequest()](coredata/nsmanagedobject/fetchrequest().md)
