SwiftData log

SwiftData Tutorials

The SwiftData is replacing Core Data. This new Apple framework makes it easy to persist data using declarative code in Swift. Also SwiftData is designed to integrate seamlessly with SwiftUI.

SwiftData tutorials

SwiftData Projects

Master SwiftData with the help of this online course.

SwiftData Essential Guide

SwiftData Essentials

SwiftData is a lightweight and efficient framework for managing data in Swift applications. It provides a simple and intuitive interface for working with databases, making it easy to perform common tasks such as querying, inserting, updating, and deleting data. With SwiftData, developers can streamline their data management code and focus on building great features for their applications. 

SwiftData project

Wishlist App

SwiftData is a powerful framework that simplifies the integration and management of data in Swift, making it easier for developers to focus on building great features. In this tutorial, we will introduce you to the fundamental concepts of SwiftData, provide step-by-step instructions on how to set it up, and guide you through practical examples to solidify your understanding

SwiftData project

Grocery List app

SwiftData is a powerful framework that simplifies the integration and management of data in Swift, making it easier for developers to focus on building great features. In this tutorial, we will introduce you to the fundamental concepts of SwiftData, provide step-by-step instructions on how to set it up, and guide you through practical examples to solidify your understanding

SwiftData project

Pets App

SwiftData is a powerful framework that simplifies the integration and management of data in Swift, making it easier for developers to focus on building great features. In this tutorial, we will introduce you to the fundamental concepts of SwiftData, provide step-by-step instructions on how to set it up, and guide you through practical examples to solidify your understanding

SwiftData project

Watchlist App

SwiftData is a powerful framework that simplifies the integration and management of data in Swift, making it easier for developers to focus on building great features. In this tutorial, we will introduce you to the fundamental concepts of SwiftData, provide step-by-step instructions on how to set it up, and guide you through practical examples to solidify your understanding

SwiftData project

Tasklist App

SwiftData is a powerful framework that simplifies the integration and management of data in Swift, making it easier for developers to focus on building great features. In this tutorial, we will introduce you to the fundamental concepts of SwiftData, provide step-by-step instructions on how to set it up, and guide you through practical examples to solidify your understanding

SwiftData project

Homework App

SwiftData is a powerful framework that simplifies the integration and management of data in Swift, making it easier for developers to focus on building great features. In this tutorial, we will introduce you to the fundamental concepts of SwiftData, provide step-by-step instructions on how to set it up, and guide you through practical examples to solidify your understanding

SwiftData project

Budget Tracker

SwiftData is a powerful framework that simplifies the integration and management of data in Swift, making it easier for developers to focus on building great features. In this tutorial, we will introduce you to the fundamental concepts of SwiftData, provide step-by-step instructions on how to set it up, and guide you through practical examples to solidify your understanding

SwiftData project

Todos+ App

SwiftData is a powerful framework that simplifies the integration and management of data in Swift, making it easier for developers to focus on building great features. In this tutorial, we will introduce you to the fundamental concepts of SwiftData, provide step-by-step instructions on how to set it up, and guide you through practical examples to solidify your understanding

SwiftData project

Slideshow App

SwiftData is a powerful framework that simplifies the integration and management of data in Swift, making it easier for developers to focus on building great features. In this tutorial, we will introduce you to the fundamental concepts of SwiftData, provide step-by-step instructions on how to set it up, and guide you through practical examples to solidify your understanding

SwiftData project

App Ideas

SwiftData is a powerful framework that simplifies the integration and management of data in Swift, making it easier for developers to focus on building great features. In this tutorial, we will introduce you to the fundamental concepts of SwiftData, provide step-by-step instructions on how to set it up, and guide you through practical examples to solidify your understanding

app screenshot
cms icon

Creating Data Models

Model your data using regular Swift types with @Model, with no additional files or tools to manage. SwiftData can automatically infer many relationships and you can use clear declarations like @Attribute(.unique) to describe constraints. Like SwiftUI, the source of truth is in your code.

Get Started
app screenshot
cms icon

Automatic persistence

SwiftData builds a custom schema using your models and maps their fields efficiently to the underlying storage. Objects managed by SwiftData are fetched from the database when needed and automatically saved at the right moment, with no additional work on your part. You can also take full control using the ModelContext API.

Get Started
cms icon

SwiftData

Query and filter your data using expressions that are type-checked by the compiler so you can catch typos and mistakes during development. Predicates provide compile-time errors when your expressions can’t be mapped to the underlying storage engine.

cms icon

SwiftUI

Use @Query in your SwiftUI views to fetch data. SwiftData and SwiftUI work together to provide live updates to your views when the underlying data changes, with no need to manually refresh the results.

cms icon

Core Data alternative

SwiftData uses the proven storage architecture of Core Data, so you can use both in the same app with the same underlying storage. When you’re ready, Xcode can convert your Core Data models into classes for use with SwiftData.

cms icon

CloudKit syncing

Your data can be stored in files using DocumentGroup and synced via iCloud Drive, or you can use CloudKit to sync data between devices.

cms icon

Learn SwiftData

SwiftData is a powerful and expressive persistence framework built for Swift. We'll show you how you can model your data directly from Swift code, use SwiftData to work with your models, and integrate with SwiftUI.

cms icon

Swift Macros

SwiftData relies on the expressivity provided by the new Swift language macros in order to create a seamless API experience. And it is naturally integrated with SwiftUI and works with other platform features, like CloudKit and Widgets.

Main Feature Title

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

cms icon

Feature Title

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.

cms icon

Feature Title

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.

cms icon

Feature Title

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.

cms icon

Feature Title

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.

cms icon

Feature Title

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.

cms icon

Feature Title

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.

cms icon

Feature Title

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.

cms icon

Feature Title

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.

SwiftData Course

Built on top of Core Data, SwiftData is actually a new framework designed to help app developers tomanage and interact with data on a persistent store.

Get Started
App Screenshot