SwiftData Quick Start Guide

Oscar de la Hera Gomez
Three flowers that represent Swift, Swift Data and Xcode. The text "SwiftData Quick Start Guide" sits beneath them.

A guide for helping you setup SwiftData with an iOS17+ project.

If you are looking for a SwiftUI specific guide, consult the guide below.

What is SwiftData?

Swift Data is a modern framework for on-device data storage, modelling and management intended to replace Core Data and provides a Swift-like API that integrates well with Swift UI.

Requirements

In order for your app to work with SwiftData you must:

  • Have an iPhone, iPad or Mac running iOS17, iPadOS17 or MacOS13 or higher.
  • Have an Mac running XCode 15 or higher.
  • Have iOS17 installed on a Mac running Xcode 15 or higher.

Apple Developer Resources

We recommend that you consult all of WWDC's videos on Swift Data.

Tutorials

We recommend completing the tutorials linked below to get up to speed with the basics of SwiftData.

Setup

Modelling

Operations

Get

Create

Update

Delete

Errors

Frequently Asked Questions (FAQ)

Why doesn't XCode let me run the app on an iPhone or iPad?

You need to install iOS17 on XCode for you to be able to run development apps on your iPhone or iPad.

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.
delasign logo

Book a Free Consultation.

An icon of an email.

Click here to email us.

Fill in the details below to book a free consultation or to let us know about something else. Whatever it is, we are here to help.

How can we help you ?

Contact Details