---
title: type
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nspersistentstore/type
---

# type

The type string of the persistent store.

## Declaration

```swift
var type: String { get }
```

## Discussion

Discussion This string is used when specifying the type of store to add to a persistent store coordinator. Special Considerations Subclasses must override this method to provide a unique type.

## See Also

### Getting Store Configuration

- [configurationName](coredata/nspersistentstore/configurationname.md)
- [options](coredata/nspersistentstore/options.md)
- [persistentStoreCoordinator](coredata/nspersistentstore/persistentstorecoordinator.md)
- [NSPersistentStore.StoreType](coredata/nspersistentstore/storetype.md)
- [Persistent Store Types](coredata/persistent-store-types.md)
