Error with application - -[NSManagedObject copyWithZone:]: selector not recognized
Error with application - -[NSManagedObject copyWithZone:]: selector not recognized
- Subject: Error with application - -[NSManagedObject copyWithZone:]: selector not recognized
- From: Wayne Pascoe <email@hidden>
- Date: Fri, 31 Mar 2006 22:22:27 +0100
All,
Thanks to a lot of the help and pointers I've received here over the
last day, my core data prototype is coming along nicely. However I've
spent the last hour fighting with a bug I just can't find.
In my inspector panel (http://www.penguinpowered.org/content/
inspector.png) I have two dropdown boxes for Media Type and Content
Type respectively. I have created both of these in the same way, and
Media Type works perfectly, but Content Type does not work - every
time I pick a content type, I get an error as follows:
-[NSManagedObject copyWithZone:]: selector not recognized [self =
0x32c330]
Searching the web, the only hint I could find is that I've misspelled
the custom class somewhere, but I am not using a custom class for
this entity - I have left it as NSManagedObject
I am managing the ContentType entity through an ArrayController
named ContentTypes. This array controller is bound to
Alexandria_AppDelegate with a model Key Path of managedObjectContext.
This is the same as for MediaTypes, except that entity being managed
there is MediaType.
The ContentType NSPopUpButton has the following bindings:
content:
Bind to: ContentTypes (NSArrayController)
Controller Key: arrangedObjects
Model Key Path: Empty
contentValues:
Bind to: ContentTypes (NSArrayController)
Controller Key: arrangedObjects
Model Key Path: contentType (which is the string attribute in my
data model)
selectedObject:
Bind to: Archives (NSArrayController)
Controller Key: selection
Model Key Path: contentType (which is a relationship in the Archive
entity connecting to the ContentType entity)
Can anyone point me in the direction of a means to debug this kind of
problem, as I'm not making any progress by just removing everything
and starting from scratch :)
Thanks in advance!
--
Wayne Pascoe (gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
I'm from Iowa. I just work in space. Admiral
Kirk - Star Trek IV
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
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