Re: Revert to factory settings: how to do it?
Re: Revert to factory settings: how to do it?
- Subject: Re: Revert to factory settings: how to do it?
- From: Spencer Salazar <email@hidden>
- Date: Mon, 11 Dec 2006 22:55:12 -0500
Hi Keary,
Try -(void)removePersistentDomainForName:(NSString *)domainName where
domain name is your bundle identifier.
spencer
On Dec 11, 2006, at 7:37 PM, I. Savant wrote:
Then I probably was missing something. :-) I'm not quite sure
from your original message what you're after.
--
I.S.
On Dec 11, 2006, at 7:21 PM, Keary Suska wrote:
on 12/11/06 12:08 PM, email@hidden purportedly said:
Unless I'm missing something, you should be using:
[NSUserDefaults resetStandardUserDefaults];
You think so? My understanding (from the documentation) is that
this method
will first synchronize changes--i.e. write them to the defaults
database,
and then release the current shared NSUserDefaults instance. It
(the docs)
doesn't say anything about resetting the values to what is
contained in the
registration domain--but that doesn't mean it doesn't.
On the surface this method doesn't seem terribly useful, but then
I could be
missing something myself.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden