<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSPersistentCloudKitContainer/EventType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Data",
      "CoreData"
    ],
    "preciseIdentifier" : "c:@E@NSPersistentCloudKitContainerEventType"
  },
  "title" : "NSPersistentCloudKitContainer.EventType"
}
-->

# NSPersistentCloudKitContainer.EventType

The type of event in a persistent CloudKit container, either setup, import, or export.

```
enum EventType
```

## Topics

### Event Types

[`NSPersistentCloudKitContainerEventTypeSetup`](/documentation/CoreData/NSPersistentCloudKitContainer/EventType/setup)

An event the persistent CloudKit container generates when setting up a store.

[`NSPersistentCloudKitContainerEventTypeImport`](/documentation/CoreData/NSPersistentCloudKitContainer/EventType/import)

An event the persistent CloudKit container generates when importing records into a store.

[`NSPersistentCloudKitContainerEventTypeExport`](/documentation/CoreData/NSPersistentCloudKitContainer/EventType/export)

An event the persistent CloudKit container generates when exporting managed objects from a store.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)