discuss-gnustep
[Top][All Lists]
Advanced

[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 07:21:04 GMT
User-agent: Pan/0.11.2 (Unix)

I see now. thanks a lot.
andras
> 
> You are setting 'semmi' into a copy of the domain, not into the actual
> defaults system.
> If you want the changed value to be in the defaults, you must use
> setVolatileDomain:forName:
> to put the new dictionary into the defaults system again.
> 
> Because you are using a volatile domain, any such change, will only
> effect the running process.
> For persistent changes effecting all instances of the application, the
> setObject:forKey: method is
> used.
> 
> To make changes usable by all applications, you use
> setPersistentDomain:forName: with
> NSGlobalDomain


reply via email to

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