[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: encodePoint:forKey:
From: |
Richard Frith-Macdonald |
Subject: |
Re: encodePoint:forKey: |
Date: |
Mon, 22 Mar 2004 05:13:20 +0000 |
On 21 Mar 2004, at 20:25, Stefan Urbanek wrote:
One more thing ...
the encode*: forKey: methods should go from
NSKeyedArchiver/NSKeyedUnarchiver.h into the NSCoder.h. The methods
are specified for NSCoder, not NSKeyed* and in
encodeWithCoder/initWithCoder one usually uses NSCoder as the method
argument type, not NSKeyedUnarchiver/NSKeyedArchiver. So current state
leads to a confusion.
Yes ... but the current state is how MacOS-X does it ... and as that's
the definitive standard for the class (as it's a MacOS-X class), I'm
not sure we should really do anything different. I think moving the
declaration away from the MacOS-X location
would be fairly harmless though.