Re: Core data confused
Re: Core data confused
- Subject: Re: Core data confused
- From: Scott Stevenson <email@hidden>
- Date: Fri, 19 Jan 2007 19:02:58 -0800
On Jan 18, 2007, at 11:32 PM, Johan Malmstrom wrote:
First I was hoping for a typo solution but to my disappointment it
was not that, I have all the chars in their right cases.
I have tried to make a list of all entities using:
" NSDictionary *debug_entitysdict= [managedObjectModel
entitiesByName] ;"
Where
managedObjectModel = [[NSApp delegate] managedObjectContext];
But to my frustration the debug_entitysdict is empty.
Unfortunately, I don't think there's any way to troubleshoot this by
description. If entitiesByName is empty, your managed object model is
not being picked up for some reason.
Make a new Core Data project and re-create the model by hand. If that
works, then you know there's a problem with the original somewhere.
- Scott
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden