• 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: Radio Buttons and Binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Radio Buttons and Binding (From: Duncan Alexander Oliver <email@hidden>)

  • Prev by Date: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Next by Date: Re: GUI without IB
  • Previous by thread: Radio Buttons and Binding
  • Next by thread: Copying files from mounted volumes doesn't work.
  • Index(es):
    • Date
    • Thread