On Tue, Jun 30, 2009 at 7:01 PM, Bill Janssen<jans...@parc.com> wrote: > I'm working on a system prefs pref pane for my application. I'd like to > have it read the user's preferences for that application, but I can't > find out where it says what user the System Preferences application runs > as, and how to control that, or whether that's possible.
It always runs as the user who launched it. How are you trying to read preferences? If you're using NSUserDefaults, that won't work. Since you're inside the System Preferences.app, NSUserDefaults reads the preferences for com.apple.systempreferences. If you want to read/write the preferences for your app, use the CoreFoundation CFPreferences API. <http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFPreferences/CFPreferences.html> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com