---
title: observationInfo()
framework: coredata
role: symbol
role_heading: Instance Method
path: coredata/nsmanagedobject/observationinfo()
---

# observationInfo()

Returns the observation info of the managed object.

## Declaration

```swift
func observationInfo() -> UnsafeMutableRawPointer?
```

## Return Value

Return Value The observation info of the receiver.

## Discussion

Discussion For more about key-value observation, see Key-Value Observing Programming Guide. important: You must not override this method.

## See Also

### Supporting Key-Value Observing

- [didAccessValue(forKey:)](coredata/nsmanagedobject/didaccessvalue(forkey:).md)
- [setObservationInfo(_:)](coredata/nsmanagedobject/setobservationinfo(_:).md)
- [willAccessValue(forKey:)](coredata/nsmanagedobject/willaccessvalue(forkey:).md)
- [didChangeValue(forKey:)](coredata/nsmanagedobject/didchangevalue(forkey:).md)
- [didChangeValue(forKey:withSetMutation:using:)](coredata/nsmanagedobject/didchangevalue(forkey:withsetmutation:using:).md)
- [willChangeValue(forKey:)](coredata/nsmanagedobject/willchangevalue(forkey:).md)
- [willChangeValue(forKey:withSetMutation:using:)](coredata/nsmanagedobject/willchangevalue(forkey:withsetmutation:using:).md)
