Grocery List SwiftData project

Grocery List Project

  • Course
  • 11 Lessons

This short tutorial guides you through creating a grocery list mobile app using SwiftData and SwiftUI frameworks. 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. You can then customize the display of these previews either through Xcode’s preview canvas or directly in code.

Contents

Introduction

Grocery List App Demo
Preview
Introduction
Preview

Resources

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

Lectures

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