User Defaults
User Defaults
- Subject: User Defaults
- From: Simon Wright <email@hidden>
- Date: Wed, 19 Dec 2001 20:34:01 -0500
I'm having a very weird problem. My app, when launched from its build
folder will properly create its User Defaults plist file. In my case it's
"com.fourthwright.servitorx.plist" and is found in
<userhome>/Library/Preferences.
However, if I copy the app to another directory (or worse, when people
download it for the first time) and run it, it launches and then
terminates without any error messages and does not create the plist file.
This happens to my demo version here <
http://www.fourthwright.com/Download/
ServitorX_Demo.sit>, if anyone would be kind enough to test it for me.
Just launching it is enough to test it. If it shows its main window the
test is successful. I'm using, what I think is a standard usage of
UserDefaults...
NSUserDefaults myDefaults = NSUserDefaults.standardUserDefaults();
I've checked the privileges of the folders in which the app exists and
they seem OK.
Any ideas?
TIA.
Simon
email@hidden
http://www.fourthwright.com