MENU

Fun & Interesting

1. SwiftData CRUD Operations

Stewart Lynch 37,948 2 years ago
Video Not Working? Fix It Now

This is the first video of the first section in a series of videos where I am going to build an app using SwiftData. In this first set of 3 videos, we will be looking at creating an application to track books that you want to read, are reading or have read. This will be the longest video in the series as I will introduce you to all of the basic CRUD operations when creating, reading updating and deleting records and persisting the changes to a SQLite database on your device. If you want to support my work, you can buy me a coffee :) https://ko-fi.com/stewartlynch Table of Contents: 0:00 Introduction 1:43 The Book Model 8:15 Create 15:07 Read 22:57 Delete 25:02 Update Completed Project: https://github.com/StewartLynch/MyBooks/tree/1stVideo_CRUD All videos in this section SwiftData: CRUD operations https://youtu.be/CAr_1kcf2_c SwiftData: Containers and Mock Data https://youtu.be/tZq4mvqH9Fg SwiftData: Dynamic sorting and filtering Coming November 12 References mentioned in video: DBBrowser https://sqlitebrowser.org ContentUnavailableView https://youtu.be/3yWxtjUm0CE SwiftPackageManager https://youtu.be/o0fQC7JU-Ts Recommended Resources: BigMountain Studio Books SwiftUI Views Mastery https://www.bigmountainstudio.com/views-16/77jt8 SwiftUI 5 Book Bundle https://www.bigmountainstudio.com/book-bundle/77jt8 Combine Mastery in SwiftUI https://www.bigmountainstudio.com/combine/77jt8 Core Data Mastery in SwiftUI https://www.bigmountainstudio.com/core-data/77jt8 SwiftUI Animations Mastery https://www.bigmountainstudio.com/animations-16/77jt8 AppCoda Books Beginning iOS 16 Programming with Swift (SwiftUI + UIKit) https://gumroad.com/a/646790611/WihuX Beginning iOS 16 Programming with Swift (SwiftUI + UIKit) - Starter https://gumroad.com/a/646790611/mOzKq Mastering SwiftUI 4 + Swift Programming for iOS 16 - Professional https://gumroad.com/a/646790611/gjPBw Mastering SwiftUI 4 - Starter https://gumroad.com/a/646790611/TyNEz Other References: Stewart Lynch's YouTube Channel: https://youtube.com/@StewartLynch Stewart Lynch on Mastodon: https://iosdev.space/@StewartLynch Stewart Lynch On Threads: @StewartLynch Stewart Lynch on X: https://x.com/StewartLynch Stewart Lynch on LinkedIn https://www.linkedin.com/in/stewartlynch

Comment