• 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
Re: Need help with Radio Buttons...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with Radio Buttons...


  • Subject: Re: Need help with Radio Buttons...
  • From: "Brian O'Brien" <email@hidden>
  • Date: Wed, 6 Apr 2005 14:55:18 -0600

Well the radio button action gets called (probably from awake from nib) and I am able to set the variable
there to the state of the radio button. So I set my class variable to that value and use that variable throughout
the rest of the class.


On Apr 6, 2005, at 2:50 PM, Hamish Allan wrote:


Thanks Hamish.. I've found a work around and that is to set a class variable in the action method (because the outlet is invalid) and
use the variable elsewhere in the class ...

I guess you know which radio button is initially set in IB, so this can be the default value of your class variable. Still, it's mightily annoying that the outlet doesn't work.


Best wishes,
Hamish


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Need help with Radio Buttons... (From: Hamish Allan <email@hidden>)

  • Prev by Date: adding to NSBrowser from a static function
  • Next by Date: Re: Porting to Win32
  • Previous by thread: Re: Need help with Radio Buttons...
  • Next by thread: Re: Need help with Radio Buttons...
  • Index(es):
    • Date
    • Thread