6. Swift Data Many to Many relationships

Описание к видео 6. Swift Data Many to Many relationships

This is the 6th video in the SwiftData series where I am building an app to track books you want to read, are currently reading or have read.

In this video, I will be introducing a many to many relationship so that we an create a list of genres and associate our books with one or more of these.

We will be looking at what a one to many relationship is and what you need to look out for when creating and deleting genres from a book or the genres array itself.

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:10 Many to Many Relationships
1:42 The Genre Model
9:41 The GenreView
17:43 The NewGenreView
25:48 The GenreStackView
29:54 Deleting Genres

Starter Project Files:
https://github.com/StewartLynch/MyBoo...

Completed Project:
https://github.com/StewartLynch/MyBoo...

Hex Color Extension
https://www.ditto.live/blog/swift-hex...

All videos in this section
SwiftData: Lightweight Migrations
   • 4. SwiftData Lightweight Migrations  

SwiftData: One To Many Relationships
   • 5. Swift Data One to Many Relationships  

SwiftData: Many to Many Relationships
   • 6. Swift Data Many 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  

Комментарии

Информация по комментариям в разработке