• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Trouble using NSMatrix with radiobuttons and using NSPopUp buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Trouble using NSMatrix with radiobuttons and using NSPopUp buttons
      • From: Graham Cox <email@hidden>
  • Prev by Date: Flash'In'App – Free Cocoa Framework
  • Next by Date: How to convert UInt8 array to NSString
  • Previous by thread: Re: Flash'In'App – Free Cocoa Framework
  • Next by thread: Re: Trouble using NSMatrix with radiobuttons and using NSPopUp buttons
  • Index(es):
    • Date
    • Thread