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

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


  • Subject: Re : Newbie Q : Not-so-simple encoding&decoding example
  • From: email@hidden
  • Date: Fri, 26 May 2006 15:50:01 +0200 (CEST)
  • Importance: Normal

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.

                                                                                              Ewan

Am 26.05.2006 um 11:16 schrieb email@hidden:
I've read many tutorials on the way to encode and decode objects in Cocoa,
but they all share one limitation : they only treat the simplest
"one class-one data type" case. When I tried to adapt it to the slightly more
complicated example below I failed. Can anyone please tell me what should
be corrected
in the encoding & decoding methods below ?

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



 _______________________________________________
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

  • Follow-Ups:
    • Re: Re : Newbie Q : Not-so-simple encoding&decoding example
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: NSConnection crashes
  • Next by Date: Drawing a focus ring around an NSScrollView? (drawing glitches)
  • Previous by thread: Capturing Audio from input devices
  • Next by thread: Re: Re : Newbie Q : Not-so-simple encoding&decoding example
  • Index(es):
    • Date
    • Thread