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

Re: Core Data relationships


  • Subject: Re: Core Data relationships
  • From: mmalcolm crawford <email@hidden>
  • Date: Thu, 23 Jun 2005 22:27:03 -0700


On Jun 23, 2005, at 9:59 PM, J Tichenor wrote:

FYI -- this is what I wrote that doesn't work: totalCostOfUnits = [self valueForKeyPath:@"email@hiddenotal"];
Needless to say I get an error. I don't think the effectUnits part is right, although it is the name of the relationship? If this is right, how does the program know to run all the objects in the relationship?


This should be fine.

Here is the error: "NSRunLoop ignoring exception '[<EffectUnitManagedObject 0x31f320> valueForUndefinedKey:]: this class is not key value coding-compliant for the key totalCostOfUnits.' that raised during posting of delayed perform with target 3a4890 and selector 'invokeWithTarget:"


Have you implemented an accessor method called 'totalCostOfUnits'?

mmalc

_______________________________________________
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: Core Data relationships
      • From: J Tichenor <email@hidden>
References: 
 >Core Data relationships (From: J Tichenor <email@hidden>)

  • Prev by Date: (Inverse) relationship lost after being set properly
  • Next by Date: Re: NSTreeController & NSOutlineView
  • Previous by thread: Core Data relationships
  • Next by thread: Re: Core Data relationships
  • Index(es):
    • Date
    • Thread