<!--
{
  "availability" : [
    "iOS: 7.0.0 - 10.0.0",
    "iPadOS: 7.0.0 - 10.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.9.0 - 10.12.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSPersistentStoreUbiquitousTransitionType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:@E@NSPersistentStoreUbiquitousTransitionType"
  },
  "title" : "NSPersistentStoreUbiquitousTransitionType"
}
-->

# NSPersistentStoreUbiquitousTransitionType

These constants are used as the value corresponding to the [`NSPersistentStoreUbiquitousTransitionTypeKey`](/documentation/CoreData/NSPersistentStoreUbiquitousTransitionTypeKey) in the user info dictionary of [`NSPersistentStoreCoordinatorStoresWillChangeNotification`](/documentation/CoreData/NSPersistentStoreCoordinatorStoresWillChangeNotification) and [`NSPersistentStoreCoordinatorStoresDidChangeNotification`](/documentation/CoreData/NSPersistentStoreCoordinatorStoresDidChangeNotification) notifications to identify the type of event leading to a change.

```
enum NSPersistentStoreUbiquitousTransitionType
```

## Topics

### Constants

[`NSPersistentStoreUbiquitousTransitionTypeAccountAdded`](/documentation/CoreData/NSPersistentStoreUbiquitousTransitionType/accountAdded)

This value indicates that a new iCloud account is available, and the persistent store in use will or did transition to the new account.

[`NSPersistentStoreUbiquitousTransitionTypeAccountRemoved`](/documentation/CoreData/NSPersistentStoreUbiquitousTransitionType/accountRemoved)

This value indicates that no iCloud account is available, and the persistent store in use will or did transition to the “local” store.

[`NSPersistentStoreUbiquitousTransitionTypeContentRemoved`](/documentation/CoreData/NSPersistentStoreUbiquitousTransitionType/contentRemoved)

This value indicates that the user has wiped the contents of the iCloud account, usually using Delete All from Documents & Data in Settings.

[`NSPersistentStoreUbiquitousTransitionTypeInitialImportCompleted`](/documentation/CoreData/NSPersistentStoreUbiquitousTransitionType/initialImportCompleted)

This value indicates that the Core Data integration has finished building a store file that is consistent with the contents of the iCloud account, and is ready to replace the fallback store with that file.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)