coredata to-many relationships
coredata to-many relationships
- Subject: coredata to-many relationships
- From: Amy Gibbs <email@hidden>
- Date: Tue, 13 Jul 2010 19:02:00 +0100
Hi,
I've read pages and pages on the internet, and looked at the samples,
and I've got Hillegass (2nd and 3rd editions) but I'm also a newbie,
I'm trying to create a fairly simple app, and I'm a bit stuck with the
to-many relationships.
I've got 2 entities, Product and Kit.
There will be lots of products, and lots of kits. Kits can contain
multiple products, and products can be part of multiple kits. In the
data modeller they are set up as inverse to-many relationships of each
other.
In my interface, I've got a tabbed layout, one for Products, and one
for Kits,
I can add new products, and I can add new kits, but I can't work out
how to add products to the kits. I only want to be able to add
existing products to the kits (so I'll have to add the products first,
then add them to the kits).
I my head I'm seeing a popup, but I've no idea how to actually make
the connection between the kit and product (or vice versa)
I hope this makes sense, can anyone point me in the right direction?
Thanks
Amy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden