|
From: | Fred Kiefer |
Subject: | Re: NSFileWrapper incompatibility (Cocoa - GNUstep) |
Date: | Tue, 14 Jan 2003 00:00:10 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903 |
Andreas Hoeschler wrote:
we would like to use -[NSFileWrapper serializedRepresentation] to exchange stuff between Cocoa and GNUstep. I suppose this is a bad idea since it looks like the formats are not compatible. What do people use instead? I want to use NSFileWrapper versus NSData since we need to determine the path extension of the original file on the other end.
What you want is not a bad idea, it just has not been implemented up to now. The serial representation of GNUstep objects could be the same as the one Apple uses. I am not sure if this is the case for the property list objects in base, but it is surely not the case for NSFileWrapper. But there is even a hint in the code that this should be changed. So if you need it, go ahead and do it.
Cheers Fred
[Prev in Thread] | Current Thread | [Next in Thread] |