• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Core Data - Add an Entity to another Entity How?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Core Data - Add an Entity to another Entity How?
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: updating NSView on separate thread
  • Next by Date: Re: NSDocument "save as" bug
  • Previous by thread: Re: Returning a nil float?
  • Next by thread: Re: Core Data - Add an Entity to another Entity How?
  • Index(es):
    • Date
    • Thread