Mac Forums

Mac Forums (
-   OS X - Development and Darwin (
-   -   NSUserDefaults & user defaults database (

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 08:26 PM.

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