FROM : Brian O'Brien
DATE : Wed Apr 06 22:55:18 2005
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
>
DATE : Wed Apr 06 22:55:18 2005
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
>
| Related mails | Author | Date |
|---|---|---|
| Brian O'Brien | Apr 6, 18:19 | |
| Scott Stevenson | Apr 6, 18:23 | |
| Brian O'Brien | Apr 6, 19:01 | |
| Stephan Ruggiero | Apr 6, 19:03 | |
| Shawn Erickson | Apr 6, 19:14 | |
| Ricky Sharp | Apr 6, 19:18 | |
| Brian O'Brien | Apr 6, 19:18 | |
| Dave Rehring | Apr 6, 19:22 | |
| Hamish Allan | Apr 6, 20:00 | |
| Brian O'Brien | Apr 6, 22:45 | |
| Brian O'Brien | Apr 6, 22:55 | |
| Caleb Strockbine | Apr 6, 23:05 |






Cocoa mail archive

