Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Apple's docs have this to say about ~/Library/Preferences/:

This directory contains app-specific preference files. You should not create files in this directory yourself.



Provide the whole quote. Contains the user’s preferences. You should never create files in this directory yourself. To get or set preference values, you should always use the NSUserDefaults class or an equivalent system-provided interface.

The system provided interface in XDG apps is the XDG path - the Apple code there implies writiing a GUI app as none of the paths it says are not updated by the App ie no manual updates.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: