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

Re: Problem with relationships in Core Data


  • Subject: Re: Problem with relationships in Core Data
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 26 Sep 2006 11:40:46 -0400


See NSArrayController's -fetch: method.

--
I.S.


On Sep 26, 2006, at 10:30 AM, Remco Poelstra wrote:

Hi,

I've a problem with the relationships in Core Data.
I've two entities A and B. The both link in an inverse relationship to
each other. I've two array controllers, one which manages all A entities,
the other which manages the B entities which are in the relation from A to
B.
When send a remove message to the B controller, the relation from A to B
is updated to reflect the fact that the selected B entity is removed. The
problem now is that the B entity still keeps it's reference to entity A.
Shouldn't the arraycontroller update that relationship? Or do I've to do
that myself?


Thanks in advance,

Remco Poelstra


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


This email sent to email@hidden

_______________________________________________ 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 relationships in Core Data
      • From: Remco Poelstra <email@hidden>
References: 
 >Problem with relationships in Core Data (From: "Remco Poelstra" <email@hidden>)

  • Prev by Date: Re: Binding to a Singleton
  • Next by Date: Re: Custom view background texture/color
  • Previous by thread: Problem with relationships in Core Data
  • Next by thread: Re: Problem with relationships in Core Data
  • Index(es):
    • Date
    • Thread