discuss-gnustep
[Top][All Lists]
Advanced

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

NSDictionary seems to be be wrong.


From: David Wetzel
Subject: NSDictionary seems to be be wrong.
Date: Wed, 16 Jan 2002 18:59:25 +0100

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?

dave

--
   _  _
 _(_)(_)_  David Wetzel, Turbocat's Development,
(_) __ (_) Buchhorster Strasse 23, D-16567 Muehlenbeck/Berlin, FRG,
  _/  \_   Fax +49 33056 82835 Phone +49 33056 82834
 (______)  http://www.turbocat.de/  dave@turbocat.de

>> Send by TCWebMail http://www.turbocat.de/products/




reply via email to

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