• 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
Connecting NSToolbar and NSTabView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Connecting NSToolbar and NSTabView


  • Subject: Connecting NSToolbar and NSTabView
  • From: David Reitter <email@hidden>
  • Date: Fri, 29 Aug 2008 11:20:37 -0400

To create a preference window with a NSToolbar at the top and a tabless NSTabView containing a few panels.
How would I go about connecting the two in Interface Builder?


I can set the NSToolbar selector to invoke takeSelectedTabViewItemFromSender on the NSTabView, which seems promising. But it seems that NSToolbar does not respond to indexOfSelectedItem, as it should for this to work.

There are some classes out there that does them - I've tried UKPrefsPanel, which didn't compile. Others require separate NIBs with the panels, which I presume will cause extra work for me on another end.

This is simple enough to work without extra coding, isn't it?

_______________________________________________

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


  • Follow-Ups:
    • Re: Connecting NSToolbar and NSTabView
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Cocoa Developer Needed - San Jose, Ca
  • Next by Date: understanding conversions between CF and NS datatypes
  • Previous by thread: Cocoa Developer Needed - San Jose, Ca
  • Next by thread: Re: Connecting NSToolbar and NSTabView
  • Index(es):
    • Date
    • Thread