---
title: NSStoreModelVersionIdentifiersKey
framework: coredata
role: symbol
role_heading: Global Variable
path: coredata/nsstoremodelversionidentifierskey
---

# NSStoreModelVersionIdentifiersKey

Key to represent the version identifiers for the model used to create the store.

## Declaration

```swift
let NSStoreModelVersionIdentifiersKey: String
```

## Discussion

Discussion If you add your own annotations to a model’s version identifier (see versionIdentifiers), they are stored in the persistent store’s metadata. You can use this key to retrieve the identifiers from the metadata dictionaries available from NSPersistentStore (metadata) and NSPersistentStoreCoordinator (metadata(for:) and related methods). The corresponding value is a Foundation collection (an NSArray or NSSet object).

## See Also

### Constants

- [NSStoreModelVersionHashesKey](coredata/nsstoremodelversionhasheskey.md)
- [NSPersistentStoreOSCompatibility](coredata/nspersistentstoreoscompatibility.md)
