• 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: Working around radio button grouphing behaviour in 10.8 SDK?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Working around radio button grouphing behaviour in 10.8 SDK?


  • Subject: Re: Working around radio button grouphing behaviour in 10.8 SDK?
  • From: Quincey Morris <email@hidden>
  • Date: Sun, 03 Jul 2016 00:35:09 -0700
  • Feedback-id: 167118m:167118agrif8a:167118suOO4Swkv3:SMTPCORP

On Jul 2, 2016, at 23:19 , Jo Meder <email@hidden> wrote:
>
> radio buttons which have the same superview and action now all behave as if they’re part of one radio group

> Our framework expects the radio buttons to be independent.

> Having AppKit manage them automatically short circuits our UI framework.

> The radio buttons are always created programatically.

So, a short term workaround would be to create each button as a subview of a unique “container” custom view, created at the same time as the button. Unless you have hundreds of buttons present simultaneously, I don’t see that this is going to have a performance impact, and there would be no other changes to your code, except that any code that *iterates* through the buttons has to be aware of the new view hierarchy.

_______________________________________________

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: 
 >Working around radio button grouphing behaviour in 10.8 SDK? (From: Jo Meder <email@hidden>)
 >Re: Working around radio button grouphing behaviour in 10.8 SDK? (From: email@hidden)
 >Re: Working around radio button grouphing behaviour in 10.8 SDK? (From: Jo Meder <email@hidden>)

  • Prev by Date: Re: Working around radio button grouphing behaviour in 10.8 SDK?
  • Next by Date: Re: Tracking down this annoyance
  • Previous by thread: Re: Working around radio button grouphing behaviour in 10.8 SDK?
  • Next by thread: NSStream and Threads
  • Index(es):
    • Date
    • Thread