I am quite new to core data I have read a couple of articles on Apples dev site & now am somewhat confortable with using it with one entity.
Now I am working on an app that recommends recipes to users.
The datadesign is somewhat like this I have these entities
Item
,
Pantry
&
Recipe
.
Relations are as follows:
Item to many Pantry
Item to many Recipe
The logic is to get items from pantry & compare them with values in recipe & then suggest user a recipe.
I am a little confused on how to go about it. Is my datadesign okay. How do I need to change it if in case ..? & will accessing pantry objects managed instance automatically fetch respective item from Items table ...? & likewise will pantry be fetched when I access recipe...?
comments, suggestions, pointers to coredata learning resources will be highly appreciated.
Thanks