5. Swift Data One to Many Relationships

This is the 5th video in the SwiftData series and the second in this section. In this video I want to introduce a one to many relationship for our books to allow us to add multiple pull quotes for each book. 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:18 The Quote Model 2:52 One to Many Relationships 5:53 Quotes List View 21:56 Cascade deletion Starter Project Files: https://github.com/StewartLynch/MyBoo... Completed Project: https://github.com/StewartLynch/MyBoo... All videos in this section SwiftData: Lightweight Migrations    • 4. SwiftData Lightweight Migrations   SwiftData: One To Many Relationships    • 5. Swift Data One to Many Relationships   Recommended Resources: BigMountain Studio Books SwiftUI Views Mastery https://www.bigmountainstudio.com/vie... SwiftUI 5 Book Bundle https://www.bigmountainstudio.com/boo... Combine Mastery in SwiftUI https://www.bigmountainstudio.com/com... Core Data Mastery in SwiftUI https://www.bigmountainstudio.com/cor... SwiftUI Animations Mastery https://www.bigmountainstudio.com/ani... 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:    / @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   / stewartlynch