deleted class files from a xcdatamodel file
deleted class files from a xcdatamodel file
- Subject: deleted class files from a xcdatamodel file
- From: email@hidden
- Date: Wed, 15 Feb 2006 13:58:45 +0100
Hi,
I just created a Core Data Application with the Assistant.
Inserted a entity with 2 attributes.
In the nib file I inserted an array controller (mode entity) and
set the managedObjectContext to the app delegate.
Inserted a table view and 2 buttons connected to the array
controllers add: and remove:
Everything works fine the xml file is created objects can be inserted
and deleted.
Next step:
I created the class files from a xcdatamodel file.
Run the app everything ok.
Next step:
deleted the class files
Run the app.
The remove: button works as aspected but
when I click the add: button I get the following error:
2006-02-15 13:24:16.110 SimpleTest[2632] *** NSRunLoop ignoring
exception 'Failed to create new object' that raised during posting of
delayed perform with target 3b9fc0 and selector 'invokeWithTarget:'
Even clear all targets changed nothing.
When I created the class files again the app is ok.
So how can I tell my app that I don't want to use the class files
anymore?
(I read the "Cannot create new objects with array controller" in the
core data troubleshooting part, but that doesn't help)
Thanks in advance for any hint.
_______________________________________________
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