What is coredata

Asked on 06/02/2025

1 search

Core Data is a framework used by Apple to manage the model layer objects in applications. It provides generalized and automated solutions to common tasks associated with object life cycle and object graph management, including persistence. In the context of WWDC 2024, Core Data is mentioned as the default storage backend for Swift Data, a framework introduced to make it easier to build and persist your app's model layer across launches. Swift Data allows for the use of custom data stores, enabling developers to choose alternative backends like SQLite or JSON files, while still benefiting from Swift Data's API and features like history tracking.

For more details on how Swift Data interacts with Core Data and other storage options, you can refer to the session Platforms State of the Union (00:41:00).