Howdy...
i'm having a bit of trouble with the storage of user preferences with my little project. So, i've got an NSPopUpButton with a menu, and i use its itemArray method to return an array of the NSMenuItems therein. When i initialize the preferences, it doesn't complain, but later on, when i go try to make an update to them with:
[[NSUserDefaults standardUserDefaults] setObject:[alarmTimePresetMenu itemArray] forKey:@"Preset Menu"];
i get an error "Attempt to insert non-property value..." in the log while the program runs. Not sure where i'm going wrong, but someone said that NSUserDefaults can only tolerate strings in this usage, despite the fact that the documentation indicates otherwise.
Anyone have any thoughts?