• 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: Strange issue with NSTabView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange issue with NSTabView


  • Subject: Re: Strange issue with NSTabView
  • From: Ian was here <email@hidden>
  • Date: Tue, 2 Dec 2008 10:37:37 -0800 (PST)

Yes, the tabview is connected with an IBOutlet. I just confirmed in the debugger that the tab view's outlet address is valid and that the tab view being passed into the delegate is the same as the outlet's. It all checks out OK.

I'm thinking of binding the tab view to a variable instead. Maybe this will make a difference.



--- On Tue, 12/2/08, Volker in Lists <email@hidden> wrote:

> From: Volker in Lists <email@hidden>
> Subject: Re: Strange issue with NSTabView
> To: email@hidden
> Date: Tuesday, December 2, 2008, 10:22 AM
> Hi,
>
> maybe a dumb question - have you an IBOutlet in your
> controller class connected via IB to the NSTabView ?
>
> Volker
>
> Am 02.12.2008 um 18:37 schrieb Ian was here:
>
> > I created a tab-less NSTabView with seven tabs. Each
> tab is selected programatically using
> selectTabViewItemWithIdentifier: (for testing purposes I
> have also used selectTabViewItemAtIndex: and
> selectedTabViewItem:).
> >
> > At first I noticed that the tabs weren't changing.
> It was stuck on the default tab item. I double checked the
> identifier strings for each tab item, then tried using the
> other methods for changing tabs. Still no luck. I
> implemented the following delegate method:
> >
> > - (void)tabView:(NSTabView *)tabView
> didSelectTabViewItem:(NSTabViewItem *)tabViewItem
> > {
> >  NSLog(@"tab view item %@ was selected.",
> [tabViewItem label]);
> > }
> >
> > According to the run log, the tabs are being selected.
> I also ran this through the debugger and confirmed that a
> new tab item is being selected. It's just the tab view
> interface that is not changing. This problem is the same on
> both Tiger and Leopard. Has anyone else experienced this
> before?
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > 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



_______________________________________________

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

  • Prev by Date: Re: Cocoa replacement for SetWindowModality
  • Next by Date: Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.
  • Previous by thread: Strange issue with NSTabView
  • Next by thread: Is NSOperation right for this job?
  • Index(es):
    • Date
    • Thread