On Apr 25, 2016, at 06:52 , Lorenzo Thurman <lore...@thethurmans.com> wrote:
> 
> I've run into a problem displaying radio buttons in a table view. I need the 
> buttons to behave as they would in a matrix, i. e., exclusive selection. The 
> docs say that for this to happen, the buttons need to share the same 
> supervise and action. The action is no problem, but the super view is. Has 
> anyone tackled this issue before? Is there a way to make this work in a 
> table? And I should add that the radio buttons are part of a subclass of 
> NSView used as the view of a view based table.

You didn’t say what the problem is.

You have either of two possible problems:

1. Each row of the table has a single radio button, and you want exclusivity 
across the whole table. In this case, you have to implement the functionality 
yourself — the old NSMatrix solution wouldn’t have been possible either.

2. Each row has a bank of radio buttons, with exclusivity within each row. In 
this case, as you’ve said, the radio buttons are subviews of a single view 
(presumably the table cell view). Since the buttons have the same action, you 
said, this is just the normal situation where they’re mutually exclusive. 
There’s should be no reason why this doesn’t work normally.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

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

Reply via email to