Re: Custom object in core data.
Re: Custom object in core data.
- Subject: Re: Custom object in core data.
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 20 Feb 2006 18:33:44 -0800
On Feb 20, 2006, at 3:18 PM, Todd Freese wrote:
When I try to save data into the store, I get the following error:
*** -encodeObject:forKey: only defined for abstract class. Define -
[NSArchiver encodeObject:forKey:]!
Presumably your custom class uses keyed archiving (and you're trying
to archive using NSArchiver instead of NSKeyedArchiver)?
<http://developer.apple.com/documentation/Cocoa/Conceptual/Archiving/
Concepts/archives.html>
[The documentation has been updated to show NSKeyed{Una,A}rchiver.]
mmalc
_______________________________________________
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