• 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: CoreData Parent Entity Confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData Parent Entity Confusion


  • Subject: Re: CoreData Parent Entity Confusion
  • From: Andrew Kimpton <email@hidden>
  • Date: Thu, 18 Aug 2005 22:51:47 -0700


On Aug 18, 2005, at 10:12 PM, mmalcolm crawford wrote:


On Aug 18, 2005, at 9:15 PM, Andrew Kimpton wrote:


Is there a way to debug the loaded data model from within my app and confirm that the "Heat" entity is really associated with a "Heat" class etc. ?


NSLog(@"My model: %@", myModel);


It's pretty verbose (so I'm not going to paste it all here) - but there doesn't seem to be anything obviously wrong. I see entries for Heat and Main with managedObjectClass set to Heat and Main respectively and the superentity for both set to Race. The Race entity in turn has subentities for both Heat and Main as I expect (again with managedObjectClass for both set to Heat and Main respectively).


The only thing that might be 'odd' (and I'm not sure what exactly I should expect to see is that the description for Heat and Main occur 'twice' once as 'top level descriptions' (with superentity set to race) and then once again in their entirety as subentities of Race. But perhaps that's expected ?

So no obvious clues as to why I might get the wrong class when inserting the entity :-(

mmalc

Andrew 8-)


_______________________________________________ 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:
    • SOLVED - Re: CoreData Parent Entity Confusion
      • From: Andrew Kimpton <email@hidden>
References: 
 >CoreData Parent Entity Confusion (From: Andrew Kimpton <email@hidden>)
 >Re: CoreData Parent Entity Confusion (From: Jim Correia <email@hidden>)
 >Re: CoreData Parent Entity Confusion (From: Andrew Kimpton <email@hidden>)
 >Re: CoreData Parent Entity Confusion (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: CoreData Parent Entity Confusion
  • Next by Date: Location of NSPopUpButton selectedValue Null placeholder
  • Previous by thread: Re: CoreData Parent Entity Confusion
  • Next by thread: SOLVED - Re: CoreData Parent Entity Confusion
  • Index(es):
    • Date
    • Thread