Core Data - Add an Entity to another Entity How?
Core Data - Add an Entity to another Entity How?
- Subject: Core Data - Add an Entity to another Entity How?
- From: Andreas Grauel <email@hidden>
- Date: Mon, 1 Feb 2010 19:32:08 +0100
Hallo,
I can't find anything with google so I hope you can help me.
I have a project with 3 Entities - Person, Event, Game - Event has a to-many
to Person and Game. Person and Game has also a to-many relation to Event.
I can already create Persons, Games and Events, but I am not able to add a
Person or Game to an Event.
How can i manage this?
http://idisk.me.com/andreasgrauel/Public/Pictures/Skitch/Kegeln-20100201-184547.png
there you see my interface. I would like to add a
person(Spieler)/game(Spiel) to the event with the + Button but how? I have
the autogenerated accessor Methods and also added the implementation code
"-(void) addPersonObject ...." but how can work with these Methods? I am not
able to hook them up in Interface Builder.
Just as a note this is my first Core Data Project.
Best Regards,
Andreas Grauel
_______________________________________________
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