• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Resetting "Factory" Prefs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Resetting "Factory" Prefs (From: Alex Keresztes <email@hidden>)

  • Prev by Date: Still Offscreen Drawing Problems ...
  • Next by Date: SIGBUS and SIGSEGV
  • Previous by thread: Re: Resetting "Factory" Prefs
  • Next by thread: Re: NSBrowser and single cell type changes
  • Index(es):
    • Date
    • Thread