Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Development and Darwin (http://www.mac-forums.com/forums/os-x-development-darwin/)
-   -   NSUserDefaults & user defaults database (http://www.mac-forums.com/forums/os-x-development-darwin/52510-nsuserdefaults-user-defaults-database.html)

Three 02-02-2007 10:53 PM

NSUserDefaults & user defaults database
 
I am just curious. I know where the user defaults are stored ( ~/Library/Preferences/... ). Am I correct to assume that this 'is' the user defaults database?

xstep 02-04-2007 02:29 AM

The preference files are not databases, they or XML type file structures. There are many, usually one per application and your personal system preference file. It is strongly recommended you don't mess with them directly.

If your writing an application, there are APIs to deal with the preference files. Look it up in the developer documentation and samples. Best to start here.


All times are GMT -4. The time now is 05:08 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.