Re: Tab view and radio buttons
Re: Tab view and radio buttons
- Subject: Re: Tab view and radio buttons
- From: Fritz Anderson <email@hidden>
- Date: Thu, 23 Feb 2012 13:44:40 -0600
On 22 Feb 2012, at 2:00 PM, McLaughlin, Michael P. wrote:
> I am seeing a problem in which I select a radio button in a view, flip to another tab then back again. When I do this for one of the tabbed views, the just-selected radio button is not remembered. In fact, all of them are in the OFF state (which I did not think was even possible).
>
> Clearly, I have messed something up somewhere. Could anyone tell me where to start looking?
>
> The xib attribute inspector for these views has many options and I might have them set some incorrectly. Documentation for many of these seems hard to find.
Do you implement the tabView:{did,should,will}SelectTabViewItem: delegate methods? I ask, not because I advocate doing so, but because they would be a possible locus of your problem.
I assume you're following the pattern of keeping the selection in a model object, and moderating between that and the matrix with a controller object. What do you see when you put a breakpoint in your method that sets the matrix selection?
— F
_______________________________________________
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