• 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: Re : Newbie Q : Not-so-simple encoding&decoding example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re : Newbie Q : Not-so-simple encoding&decoding example


  • Subject: Re: Re : Newbie Q : Not-so-simple encoding&decoding example
  • From: Uli Kusterer <email@hidden>
  • Date: Fri, 26 May 2006 18:30:58 +0200

Am 26.05.2006 um 15:50 schrieb email@hidden:
Uli Kusterer wrote :

I can't see anything that should be a problem offhand. What issues are
you encountering with this?

 When I try to re-open a saved document, the console displays an error
message as
follows :

*** NSUnarchiver: inconsistency between written and read data for object
0x3d5010


and the document does not open.

Are you sure you're saving what you think you're saving? Have you made sure your archiving/unarchiving code is being called at all? Are you accounting for an object being NIL? I don't think you can archive a NIL object, you'll have to use [NSNull null] or another placeholder object instead.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ 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: 
 >Re : Newbie Q : Not-so-simple encoding&decoding example (From: email@hidden)

  • Prev by Date: Re: Determining how the app is run (intel/ppc/rosetta/os version)?
  • Next by Date: Re: Determining how the app is run (intel/ppc/rosetta/os version)?
  • Previous by thread: Re : Newbie Q : Not-so-simple encoding&decoding example
  • Next by thread: Re : Newbie Q : Not-so-simple encoding&decoding example
  • Index(es):
    • Date
    • Thread