---
title: NSPersistentStoreUbiquitousContainerIdentifierKey
framework: coredata
role: symbol
role_heading: Global Variable
path: coredata/nspersistentstoreubiquitouscontaineridentifierkey
---

# NSPersistentStoreUbiquitousContainerIdentifierKey

The a string specifying the iCloud container identifier.

## Declaration

```swift
let NSPersistentStoreUbiquitousContainerIdentifierKey: String
```

## Discussion

Discussion Core Data passes the persistent identifer to url(forUbiquityContainerIdentifier:).

## See Also

### Deprecated

- [NSExternalRecordsDirectoryOption](coredata/nsexternalrecordsdirectoryoption.md)
- [NSExternalRecordExtensionOption](coredata/nsexternalrecordextensionoption.md)
- [NSExternalRecordsFileFormatOption](coredata/nsexternalrecordsfileformatoption.md)
- [NSPersistentStoreUbiquitousContentNameKey](coredata/nspersistentstoreubiquitouscontentnamekey.md)
- [NSPersistentStoreUbiquitousContentURLKey](coredata/nspersistentstoreubiquitouscontenturlkey.md)
- [NSPersistentStoreUbiquitousPeerTokenOption](coredata/nspersistentstoreubiquitouspeertokenoption.md)
- [NSPersistentStoreRemoveUbiquitousMetadataOption](coredata/nspersistentstoreremoveubiquitousmetadataoption.md)
- [NSPersistentStoreRebuildFromUbiquitousContentOption](coredata/nspersistentstorerebuildfromubiquitouscontentoption.md)
