Re: Core data confused
Re: Core data confused
- Subject: Re: Core data confused
- From: Johan Malmstrom <email@hidden>
- Date: Fri, 19 Jan 2007 08:32:06 +0100
Hi Scott, et al!
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.
/ Johan
18 jan 2007 kl. 16.53 skrev Scott Stevenson:
On Jan 18, 2007, at 1:12 AM, Johan Malmstrom wrote:
My problem seems to be that the entites I create in the data model
is not created at runtime resulting in a runtime error:
"2007-01-18 09:40:05.797 HID2[477] *** NSRunLoop ignoring
exception 'Cannot perform operation since entity with name
'BTDevice' cannot be found' that raised during posting of delayed
perform with target 396160 and selector 'invokeWithTarget:'
The problem seems to be that BTDevice isn't in the managed object
model?
Perhaps there's a typo somewhere? I think these things are case
sensitive, and you say the array controller is set to "BTdevice".
- 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