iOS 15: One-to-many relationships with @FetchRequest and SwiftUI – Core Data SwiftUI Tutorial 7/7

preview_player
Показать описание

Other parts in Project 12:

7. One-to-many relationships with Core Data, SwiftUI, and @FetchRequest
Challenges: This video

Рекомендации по теме
Комментарии
Автор

One man has many dogs.
Many dogs have one man.

sxlx
Автор

Such a great tutorial, you helped me so often!

tommy
Автор

Such a great tutorial, and you are the best teacher. Thank you so much🥰

hamidehsheikh
Автор

Thank you, that's such great tutorial!

tiIIus
Автор

I am in the mood for candy now 🍬… those dogs though, wonderful 😊 Love the videos 👍🏻

midlifematt
Автор

Another great video. Do you have an example of a core data and a form supporting a many-to-many relationship?

oiibrsz
Автор

Thanks so much for your tutorial! It helped me lots

beanberg
Автор

Thanks you sooo much foir this awesome great video!

seungjunlee
Автор

Great tutorial. Do you have a many to many example? One where you might have to keep additional in the intermediate table? Like Recipe/Ingredient with an intermediate table for amount, or User/Rating/Restaurant, etc.

oiibrsz
Автор

If I want to store URLs and UUIDs in Core Data, what should I nil coalesce to when creating those computed properties? A new empty URL instance (i.e URL(fileWithPath: "") and a new UUID() instance respectively?

uniquecrafter
Автор

Thx for this. I followed this tutorial using swift playground on the iPad. It works fine, but is it possible to set Contraints for Entity manually, not using Xcode ?

isthorify
Автор

Wouldn't it be better to put the wrapped properties as an Extension in another file so it doesn't get rewritten?

kafran
Автор

Hi, how to fetch only the Countries without the relationship entities?

RoustamManookian
Автор

Why did Paul call those variables wrappedShortname (etc) rather than unwrappedShortname? Thanks.

AndyJMacLeod
Автор

Is there a working code for download available?

udesai
Автор

Couldn't you have the classes automatically created and create an extension class for the object and still use Codegen = class definition?

oiibrsz
Автор

Paul, shouldn't those convenience properties be called unwrapped* as you are actually unwrapping the optional?

cliffspencer
Автор

How can I create data and display it when the app starts, without having to click the button first?

devsmond
Автор

how to clean all the errors and warnings?

Alshafi
Автор

constraints failed to work in Xcode Version 14.1 beta (14B5024h) sometimes, I added constraints for shortName but I can still see a bunch of entries with the same short name, I even downloaded your project 12 from github and directly run on my mac, still no luck. But previously it worked perfectly for singers with same names, really strange.

wvwojbk
visit shbcf.ru