[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nsuserdefaults help please
From: |
reuss |
Subject: |
Re: nsuserdefaults help please |
Date: |
Thu, 15 Jul 2004 02:09:01 GMT |
User-agent: |
Pan/0.11.2 (Unix) |
my problem is that I cant edit the values stored in volatiledomain.
please look at the following:
id masik = [NSUserDefaults standardUserDefaults];
id dd = [NSMutableDictionary dictionary];
[dd setObject: @"valami" forKey: @"valami"];
[masik setVolatileDomain: dd forName: @"Kukucs"];
[[[masik volatileDomainForName: @"Kukucs"] mutableCopy] setObject: @"semmi"
forKey: @"valami"];
NSLog (@"%@", [masik volatileDomainForName: @"Kukucs"]);
the result following is printed:
{valami = valami}
i thougth it should be:
{valami = semmi}
am i in mistake?