Re: Retrieving "default" defaults after registerDefaults?
Re: Retrieving "default" defaults after registerDefaults?
- Subject: Re: Retrieving "default" defaults after registerDefaults?
- From: Ondra Cada <email@hidden>
- Date: Sun, 7 Apr 2002 22:36:04 +0200
On Sunday, April 7, 2002, at 10:27 , Matt Gemmell wrote:
My question is, can I programmatically access the original "default"
values
I registered, so that I can elegantly implement a "Factory Settings"
button
in my preferences window? I want to retrieve the "default" values I
initially registered before reading the actual values the user had saved,
so
that I can reset my app's settings to their factory state. I hope that
makes
sense.
You need to set a default object so that in its chain of domains searched
there is not the application domain, or perhaps you want just read
directly the registration domain contents.
Sorry I don't remember the exact howto (I've never needed that), but you
should be able to find it in documentation.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.