NSUserDefaults causing me fits
NSUserDefaults causing me fits
- Subject: NSUserDefaults causing me fits
- From: John Timmer <email@hidden>
- Date: Mon, 08 Sep 2003 19:31:50 -0400
On my app controller's awakeFromNib method, I'm creating a dictionary and
initializing the user defaults to that if there's no pre-existing defaults.
These values seem to take, though if I quit the app, the file doesn't get
written out.
If I then go through and update the defaults through a preferences window,
the file gets written out with the "synchronize" method. Unfortunately,
when I look over the file's contents, all the values appear to have one of
two keys (there are the right number, they're just listed as all being one
or the other of these two keys). Not surprisingly, this isn't helping much.
Does anyone know why this would happen or how to avoid it?
Cheers,
JT
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.