SwiftData! Updating a Simple ToDo List App (Ch. 5 BONUS)

Опубликовано: 13 Март 2026
на канале: Prof. John Gallaugher
4,018
105

We'll update the ToDo List app we created in Ch. 5 of our course so it uses Apple's SwiftData framework. We'll learn to use the @Model macro, write far less code, use @Query to read data, work with modelContainer and modelContext, .insert and .delete data, and we'll use #Preview for less code to work with LivePreview. We'll also learn to install Xcode 15, update an App for iOS 17, and we'll learn some of the quirks related to the keyboard, bugs, and crashes that may occur if you're an early user of the Xcode 15 Beta. You'll be able to download the app we'll modify from the GitHub repo at:
https://github.com/gallaugher/ToDoLis...
The lesson is VERY beginner friendly, with techniques described as we use them.
This is part of Prof. John Gallaugher's zero-to-full university course. All lessons are online & free. Find them at https://bit.ly/prof-g-swiftui