bug-gnustep
[Top][All Lists]
Advanced

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

Re: encodePoint:forKey:


From: Stefan Urbanek
Subject: Re: encodePoint:forKey:
Date: Sun, 21 Mar 2004 21:25:37 +0100

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.

Stefan

On 2004-03-21 20:44:21 +0100 Richard Frith-Macdonald <richard@brainstorm.co.uk> 
wrote:


On 21 Mar 2004, at 18:23, Stefan Urbanek wrote:

Hi,

NSKeyedArchiver/Unarchiver has no point, size, rect and range encoding implemented.

Why do you say that? What about the ones for point, size and rect in base/Source/NSKeyedArchiver.m ?

There is no method for encoding/decoding ranges because (afaik) the MacOS-X api doesn't specify one... perhaps they will add it some time in the future ...





--
http://stefan.agentfarms.net

First they ignore you, then they laugh at you, then they fight you, then you 
win.
- Mahatma Gandhi






reply via email to

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