• 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: removing all user defaults from prefs file and 'memory'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: removing all user defaults from prefs file and 'memory'


  • Subject: Re: removing all user defaults from prefs file and 'memory'
  • From: Scott Anguish <email@hidden>
  • Date: Sat, 21 May 2005 17:25:30 -0400

since you're using NSUserDefaultsController, you could use revertToInitialValues: and that should be fine.


On May 21, 2005, at 4:16 PM, Nicolas Berloquin wrote:

Hello !

  I'm having some problems with preference files that seem to be corrupted.
In that case, I'd like to be able to both :
- trash/remove/empty the prefs file itself (either solution).
- reset the userdefaults for the current session to my registered defaults (probably inside
my app's Initialize method, right after I register my defaults), and make sure that cocoa
doesn't cache the hosed data in my back.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >removing all user defaults from prefs file and 'memory' (From: Nicolas Berloquin <email@hidden>)

  • Prev by Date: Re: Strategy for using common classes in multiple Cocoa plug-ins?
  • Next by Date: Re: Strategy for using common classes in multiple Cocoa plug-ins?
  • Previous by thread: removing all user defaults from prefs file and 'memory'
  • Next by thread: problem with pure automatic KVO for array (no controllers...)
  • Index(es):
    • Date
    • Thread