• 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
Subclassing NSKeyedArchiver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subclassing NSKeyedArchiver


  • Subject: Subclassing NSKeyedArchiver
  • From: Adrian Ruigrok <email@hidden>
  • Date: Mon, 27 Feb 2006 11:19:49 -0800

Hey folks,

Does anyone know what is special about NSKeyedArchiver that it would break with simple sublcassing?

I have created a subclass of NSKeyedArchiver that does nothing yet. No instance variables, no methods of its own. When I use this to write my document, all my arrays are empty when I read back in. They array object is there, but it contains no objects.

I have looked at the archives in text format, and there is a big difference. The NSKeyedArchiver seems to write the array as an <array> and my simple subclass seems to write them as an ungrouped list of objects.

This has to be something obvious, but it is far from obvious to me.

Adrian
_______________________________________________
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


  • Prev by Date: when to register
  • Next by Date: Re: Why is NSFontManager lying to me ?
  • Previous by thread: Re: when to register
  • Next by thread: Shark and function tracing objective-c methods
  • Index(es):
    • Date
    • Thread