Re: removing all user defaults from prefs file and 'memory'
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