Re: Radio Buttons and Binding
Re: Radio Buttons and Binding
- Subject: Re: Radio Buttons and Binding
- From: Duncan Alexander Oliver <email@hidden>
- Date: Mon, 07 Jun 2004 10:30:31 -0500
Thanks. This seems to be the best way to go about it for now.
On Jun 7, 2004, at 8:00 AM, Joakim Danielson wrote:
I'm using radio buttons with Xcode 1.2 and bindings. I have bound the
instance variable of my model object to the selectedIndex of a
NSMatrix that contains three radio buttons with a value transformer
that transform to and from the variables different values and the
index of the radio buttons. Not a perfect solution but it works
without any problem.
Joakim
On 2004-06-07, at 10.05, Duncan Alexander Oliver wrote:
I've currently been having problems binding radio buttons to
controllers, and was wonder if anyone could help.
In previous versions of Interface Builder, you were able to bind the
argument and target keys of a radio button to a controller. Since
installing Xcode 1.2, though, I haven't been able to do that.
At first, I tried to bind the value key or individual radio buttons
to the controller using key-value compliant accessor methods, but I
found that when a clicked on a radio button, the others wouldn't
update.
I then tried the same thing using a NSMatrix with radio tracking,
but I found that the value would only update the first time I clicked
a radio button. Has anyone had luck with radio button bindings and
Xcode 1.2? Thanks.
Duncan Oliver
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
Duncan Oliver
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.