Re: CoreData Parent Entity Confusion
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