<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSSnapshotEventType",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:@E@NSSnapshotEventType"
  },
  "title" : "NSSnapshotEventType"
}
-->

# NSSnapshotEventType

Constants that specify the reason the managed object may need to reinitialize its values.

```
struct NSSnapshotEventType
```

## Topics

### Event Types

[`undoInsertion`](/documentation/CoreData/NSSnapshotEventType/undoInsertion)

Specifies a change due to undo from insertion.

[`undoDeletion`](/documentation/CoreData/NSSnapshotEventType/undoDeletion)

Specifies a change due to undo from deletion.

[`undoUpdate`](/documentation/CoreData/NSSnapshotEventType/undoUpdate)

Specifies a change due to a property-level undo.

[`rollback`](/documentation/CoreData/NSSnapshotEventType/rollback)

Specifies a change due to the managed object context being rolled back.

[`refresh`](/documentation/CoreData/NSSnapshotEventType/refresh)

Specifies a change due to the managed object being refreshed.

[`mergePolicy`](/documentation/CoreData/NSSnapshotEventType/mergePolicy)

Specifies a change due to conflict resolution during a save operation.



---

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)