discuss-gnustep
[Top][All Lists]
Advanced

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

Re: NSDictionary seems to be be wrong.


From: Richard Frith-Macdonald
Subject: Re: NSDictionary seems to be be wrong.
Date: Thu, 17 Jan 2002 12:02:54 +0000

On Wednesday, January 16, 2002, at 05:59 PM, David Wetzel wrote:

Hi folks,

I had a NSDictionary very simelar to this today. The object for the key "allStarters" is NSArray. The objects in this array are NSDictionaries.
But they are coded as strings.


{
    allStarters = (
        "{evQuote = \"21,2\"; lastStartDriver = \"21,2\";
          lastStartSpeed = \"21,2\"; lastStartTime = 22.12.2001;  }",
        "{evQuote = \"22,2\"; lastStartDriver = \"25,2\";
          lastStartSpeed = \"21,2\"; lastStartTime = 26.12.2001;  }"
    );

    start = test;
}

All I did was to say:

  [myDict writeToFile:@"/tmp/starters.plist" atomically:NO];

  [myDict description] seems to do the same.

Is this bug known?


No ... and I can't reproduce it. Can you send me a sample of the code that does it,
and let me know what version/platform etc you are running please.




reply via email to

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