• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom object in core data.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Custom object in core data. (From: Todd Freese <email@hidden>)

  • Prev by Date: Interface Builder Bug? (NSTableView & Column Size)
  • Next by Date: XCode and Cell Phone Development
  • Previous by thread: Custom object in core data.
  • Next by thread: Interface Builder Bug? (NSTableView & Column Size)
  • Index(es):
    • Date
    • Thread