TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Hacking with Swift

SwiftData by Example

SwiftData by Example is the world's largest collection of SwiftData examples, tips, and techniques to help you build apps, solve problems, and understand how SwiftData really works.

Also available as a download edition

Introduction

A brief explanation of the basics of SwiftData

Building a complete project

Learn SwiftData hands-on with a real app project

Containers and context

Configuring your SwiftData app for success.

Defining your data model

Storage, data types, attributes, and more.

Creating relationships

Creating and managing links between data

Working with data

Creating, loading, saving, and searching for objects.

Handling migration

How to update your models without risk.

Building with SwiftData

Working with SwiftUI UIKit, widgets, and more.

Architecture

Structuring SwiftData code in a flexible, maintainable way.

Solving problems

Common problems. Solved.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.