Re: Working around radio button grouphing behaviour in 10.8 SDK?
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