Thanks for the help. I have an NSMatrix with 2 radioButtons set to retain the user defined selection using the selectedIndex binding. I also have 2 button actions that toggle the same NSMatrix radioButton selection(s).
[sizeMatrix selectCell:[sizeMatrix cellWithTag:0]];
and ...
[sizeMatrix selectCell:[sizeMatrix cellWithTag:1]];
In these respective (button) actions, I need to set the necessary NSUserDefaults for the linked NSMatrix selection. I tried the following with no success:
[[NSUserDefaults standardUserDefaults] setObject:[NSNumber numberWithInt:0] forKey:@"myKey"];
How do I set this up? As well, how do I set the userDefault in awakeFromNib;?
Thanks again.
-paul.