ios - Are my Core Data relationships correct? -
i'm working on displays title of list on uitableview
, , once user selects specific list pushes uitableview
, displaying items in list including properties, such item name, price, ect. using core data save of data. i'm kinda new core data; have played around it, never used in way. have far, i'm not sure if it's right or if i'm going in right direction. have 2 entities 1 list , name of list.
thats have far, relationships what's confusing me. if on , point me in right direction appreciated.
i believe didn't understand how use entities , attributes:
two entities 1 list , name of list
you should have 1 entity hold lists, , 1 entity hold items list. don't understand attributes either. trying keep you've done possible, i'd rename wishlist
item
, listname
list
. relationship inside list
should named items
. makes sense, @ least me. don't need write itemname
, itemprice
, on, attributes inside entity called item
- name them: name
, price
, etc.
Comments
Post a Comment