<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "swift: 5.9.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftData",
  "identifier" : "/documentation/SwiftData/DefaultStore",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "SwiftData"
    ],
    "preciseIdentifier" : "s:9SwiftData12DefaultStoreC"
  },
  "title" : "DefaultStore"
}
-->

# DefaultStore

A data store that uses Core Data as its undelying storage mechanism.

```
final class DefaultStore
```

## Topics

### Creating a data store

### Accessing store information

[`name`](/documentation/SwiftData/DefaultStore/name)

### Processing fetch requests

[`DefaultSnapshot`](/documentation/SwiftData/DefaultSnapshot)

### Persisting model data

### Deleting persisted model data

### Sharing cached data between model contexts

### Managing model change history

[`TokenType`](/documentation/SwiftData/DefaultStore/TokenType)

## Relationships

### Conforms To

[`DataStore`](/documentation/SwiftData/DataStore)

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

[`DataStoreBatching`](/documentation/SwiftData/DataStoreBatching)

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

[`HistoryProviding`](/documentation/SwiftData/HistoryProviding)

---

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)