• 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 not Selecting Properly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Radio Buttons not Selecting Properly


  • Subject: Re: Radio Buttons not Selecting Properly
  • From: Graham Cox <email@hidden>
  • Date: Thu, 26 Feb 2009 20:39:15 +1100


On 26/02/2009, at 5:53 PM, K. Darcy Otto wrote:

When view 0 is being displayed, and the user clicks on radio button 1, view 0 is automatically swapped out for view 1, and radio button 1 is selected in view 1. The problem is, this only happens the first time the user clicks on radio button 1. The rest of the time, the view changes, but the radio button selection does not change.

How do I force the radio button to change each time a new view is swapped in? The strange thing is, I have used bindings to bind the radio button that is clicked to a variable, and the variable shows the right value. The selection doesn't change though, except for the first time the button is clicked.

Any help would be greatly appreciated.


Is there an exception being thrown during the view-swapping process? I recently noticed that radio buttons in a matrix exhibit the behaviour you describe if something throws as part of the matrix action (which isn't unexpected). Remember that simple asserts also throw.

--Graham


_______________________________________________

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


References: 
 >Radio Buttons not Selecting Properly (From: "K. Darcy Otto" <email@hidden>)

  • Prev by Date: Q: Creating bindable properties editors for Core Data entities
  • Next by Date: Re: One IBAction, multiple results from multiple methods
  • Previous by thread: Radio Buttons not Selecting Properly
  • Next by thread: Re: Radio Buttons not Selecting Properly
  • Index(es):
    • Date
    • Thread