discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: Appreciation of .gmodel format (was deprecation)


From: Alexander Malmberg
Subject: Re: RFC: Appreciation of .gmodel format (was deprecation)
Date: Wed, 07 Jan 2004 01:52:06 +0100

Kazunobu Kuriyama wrote:
> Alexander Malmberg wrote:
[snip]
> >It looks like they would produce something fairly human-readable (or at
> >least a lot better than the above example :). OTOH, implementing those
> >classes is a bit of work, and to get the benefits, you'd have to update
> >all -encodeWithCoder:/-initWithCoder: implementations, which is a lot of
> >work.
> >
> Because I can't exactly make out what you mean, let me ask a question.
> If the assertion above is true, -encodeWithCoder:/-initWithCoder: which
> were written for a class designed to be used with 10.1 or before must be
> rewritten for use with 10.2 or later.  Is this true?

Only if they want to use keyed coding. Encoding and decoding non-keyed
archives still works, and don't require any changes to
-encodeWithCoder:/-initWithCoder:.

This example might make it a bit clearer:

http://developer.apple.com/documentation/Cocoa/Conceptual/Archiving/Tasks/codingobjects.html

- Alexander Malmberg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]