Re: Resetting "Factory" Prefs
Re: Resetting "Factory" Prefs
- Subject: Re: Resetting "Factory" Prefs
- From: Tony Cate <email@hidden>
- Date: Thu, 07 Feb 2002 06:34:07 -0600
On 2/7/02 1:15 AM, "Alex Keresztes" <email@hidden> wrote:
>
--What resetStandardUserDefaults does is re-read the cache from the
>
defaults database.
Which is what I expected it to to. (Based on the method name I couldn't
find a description.)
In such a case, wouldn't:
[NSUserDefaults resetStandardUserDefaults];
[[NSUserDefaults standardUserDefaults] synchronize]; (not necessary unless
you think the app will be quit prior to the auto sync cycle running.)
Quit app..Restart app
result in the app starting with the "factory" defaults set. It doesn't (for
me).
By the way, where'd you find the description for +resetStandardUserDefaults?
_______________________________________________
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.