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 :)
[ Ссылка ]
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:
[ Ссылка ]
Completed Project:
[ Ссылка ]
Hex Color Extension
[ Ссылка ]
All videos in this section
SwiftData: Lightweight Migrations
[ Ссылка ]
SwiftData: One To Many Relationships
[ Ссылка ]
SwiftData: Many to Many Relationships
[ Ссылка ]
Recommended Resources:
BigMountain Studio Books
SwiftUI Views Mastery
[ Ссылка ]
SwiftUI 5 Book Bundle
[ Ссылка ]
Combine Mastery in SwiftUI
[ Ссылка ]
Core Data Mastery in SwiftUI
[ Ссылка ]
SwiftUI Animations Mastery
[ Ссылка ]
AppCoda Books
Beginning iOS 16 Programming with Swift (SwiftUI + UIKit)
[ Ссылка ]
Beginning iOS 16 Programming with Swift (SwiftUI + UIKit) - Starter
[ Ссылка ]
Mastering SwiftUI 4 + Swift Programming for iOS 16 - Professional
[ Ссылка ]
Mastering SwiftUI 4 - Starter
[ Ссылка ]
Other References:
Stewart Lynch's YouTube Channel:
[ Ссылка ]
Stewart Lynch on Mastodon:
[ Ссылка ]
Stewart Lynch On Threads:
@StewartLynch
Stewart Lynch on X:
[ Ссылка ]
Stewart Lynch on LinkedIn
[ Ссылка ]
Ещё видео!