discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSystemDefaults?


From: Chad Hardin
Subject: Re: NSSystemDefaults?
Date: Thu, 3 Jun 2004 21:25:45 -1000

Right, I understand I can do this by putting out my own plist (or whatever) into the appropriate directory. I was just wondering why there was no more standard way of doing it along with the NSUserDefaults.

A better way to explain it would be to imagine that NSUserDefaults had an extra Domain, on top of everything, which the Global and Application Domains could override.

Of course, *writing* to the defaults in this domain would be problematic, since they are inter-user, but at least the benefits of reading them would still be there.

Anyhow, I was curious if anyone knew why NSUserDefaults, well, stopped at being just for one singular user and not for all users on a system (From a historical perspective, I mean)

Chad


On Jun 3, 2004, at 6:59 PM, Rogelio Serrano wrote:

On 2004-06-04 12:49:06 +0800 Chad Hardin <cehardin@mac.com> wrote:

While working on GSCUPS, I realized that having the ability to save global system defaults in fashion similar to how NSUserDefaults works for each user would be very handy. For example, let's say the administrator of a system wants all the users to use a certain printer by default? I'm wondering why such a thing was never done on NS or OS, OS X does not do it either (the Cocoa Docs say to use CoreFoundation for this type of functionality).
Any thoughts on this?
Chad
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Hi,

From what i understand its supposed to go into Library/Preferences/ in the appropriate fs domain. For all preferences that affects the users of the localhost it should be in {LOCAL_ROOT_DIR}/Library/Preferences.
In my system its in /Library/Preferences/Default/



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep





reply via email to

[Prev in Thread] Current Thread [Next in Thread]