Trouble using NSMatrix with radiobuttons and using NSPopUp buttons
Trouble using NSMatrix with radiobuttons and using NSPopUp buttons
- Subject: Trouble using NSMatrix with radiobuttons and using NSPopUp buttons
- From: John Joyce <email@hidden>
- Date: Mon, 5 May 2008 07:16:34 -0500
(sorry for the repost, I forgot to change the subject line before)
I'm struggling and maybe tired, but how do you set the state of and
NSMatrix with radio buttons and NSPopUpButton ?
Does it go in windowDidLoad or should it be in awakeFromNIB ?
This is in a Preference window for my app.
I'm having a hard time figuring out how to get it to set state to
reflect the userDefaults.
No trouble with changing the defaults after a selection, just
reflecting the current defaults on load of the window.
What methods am I missing?
For the popup, I have tried selectItemWithTitle, selectItemWithTag,
etc...
For the radio button matrix, I am totally lost and I don't understand
how to set the state of it. Does the matrix need IBOutlets for each
cell too?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden