• 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: Tab view and radio buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Tab view and radio buttons (From: "McLaughlin, Michael P." <email@hidden>)

  • Prev by Date: Re: Determining user's clock preference on iOS
  • Next by Date: Re: Sudden and hard to reproduce crashes in libcache
  • Previous by thread: Tab view and radio buttons
  • Next by thread: Can't create window context…crash
  • Index(es):
    • Date
    • Thread