Grocery List App

  • Course
  • 11 Lessons

This short tutorial guides you through creating a grocery list app using SwiftData. With Xcode previews, you can edit your app’s views in code and instantly see the results on the preview canvas. Additionally, we incorporate previews into your SwiftUI with the preview macro.

Introduction

Grocery List App Demo
Preview
Introduction
Preview

Resources

Workbook
Grocery List App Project Files – iOS26
Grocery List App Project Files – iOS18

Lessons

Chapter 1 - Project Setup
Preview
Chapter 2 – SwiftData Model
Chapter 3 – Sample Data in Preview
Chapter 4 – Deleting and Updating Data
Chapter 5 – Saving Data Objects
Chapter 6 – TipKit Integration