Re: Preferences are not read
Re: Preferences are not read
- Subject: Re: Preferences are not read
- From: Quentin Mathé <email@hidden>
- Date: Tue, 20 May 2003 15:11:45 +0200
Le mardi, 20 mai 2003, ` 15:03 Europe/Paris, Quentin Mathi a icrit :
Defaults values are cached when you read them...with for example,
this call :
[[NSUserDefaults standardUserDefaults]
persistentDomainForName:@"Application"]
To update the cached Defaults values, you need to use the following
call :
[NSUserDefaults synchronize]
You should read : [[NSUserDefaults standardUserDefaults] synchronize]
sorry.
... this message updates the cached Defaults values, and also the
system Defaults database in accordance with the Defaults values you
have altered.
--
Quentin Mathi
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.