Last week, I filed a sample code bug #25499365 against the ButtonMadness sample 
code project.
I’m not sure if that will be enough.


> On Apr 7, 2016, at 1:26 PM, Sean McBride <s...@rogue-research.com> wrote:
> 
> On Thu, 7 Apr 2016 15:36:51 -0400, Nivek Research said:
> 
>> I have a number of NSMatrix instances that group radio buttons. Most
>> bind the selectedIndex or selectedTag bindings available on NSMatrix to
>> a numeric value in a model object. The others bind the contentObjects
>> and selectedObject binding available on NSMatrix. As NSMatrix is
>> informally deprecated in OS X 10.8 and later does anyone know a way to
>> bind multiple NSRadioButtons to a single numeric value as was once done
>> with selectedIndex or selectedTag such that the selected radio button
>> follows the numeric value? Similarly does anyone have a way to bind
>> multiple buttons to a single object value like NSMatrix’s selectedObject
>> was used previously? Ideally any solution should be backwards compatible
>> to OS X 10.6 as I still need to support that release. I have searched
>> the internet though I have not seen a solution that will work without
>> major changes to my model code. Not that I am not willing to make the
>> changes. I just wonder if anyone has been enlightened with a cooler solution.
> 
> Kevin,
> 
> Yeah, I keep meaning to file a radar about this.  I didn't find any nice way 
> to do this, so I'm mostly still using NSMatrix for radio buttons.  Recently, 
> I wrote a little helper class, attached here, that makes it a little easier 
> to use bindings with non-NSMatrix radio buttons.  It's not as nice as 
> NSMatrix's built-in IB support, but maybe you'll find it helpful.
> 
> Cheers,
> 
> -- 
> ____________________________________________________________
> Sean McBride, B. Eng                 s...@rogue-research.com
> Rogue Research                        www.rogue-research.com 
> Mac Software Developer              Montréal, Québec, Canada
> <RRRadioBinder.h><RRRadioBinder.m>_______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/jeff%40szuhay.org
> 
> This email sent to j...@szuhay.org

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to