• 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
Problem with Core-Data relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with Core-Data relationship


  • Subject: Problem with Core-Data relationship
  • From: guillaume garcera <email@hidden>
  • Date: Thu, 25 Aug 2005 22:20:41 +0200

Hi all,

First sorry for my bad english but I'm french and not speak english very well.

I try to make a little stuff with core-Data but i have problem with relationship.
In a model, I have this situation:
A Project entity which have a relation to a Bug Entity : bugs
A Bug Entity wich had a relationship to Project (inverse to bugs) : project


In IB i configure an Object controller for the project entity and an ArrayController for the Bug entity.
My problem is when i add a bug to a project the inverse relationship is not set to the project.
I know i had to bind the Bug controller contentSet to Project Controller selection.bugs but when i do this the problem is the same I don't understand why this not work. In an other project i made for test this situation, the problem don't occur and the bindings are the same. If you can point my mistake or help me to correct my project.


If you don't see my problem you can download the project here : http://djserv.dyndns.org/garcera/bugmanager/trunk.zip

So if you can help me a little, i will agree you.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Problem with Core-Data relationship
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Looking for guidance on first Core Data / Document based app - file list within the document
  • Next by Date: Re: Alloc Mocks my World
  • Previous by thread: Re: Looking for guidance on first Core Data / Document based app - file list within the document
  • Next by thread: Re: Problem with Core-Data relationship
  • Index(es):
    • Date
    • Thread