• 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
Tabbed preference panels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tabbed preference panels


  • Subject: Tabbed preference panels
  • From: "Sumner Trammell" <email@hidden>
  • Date: Fri, 22 Aug 2008 12:29:22 -0400

Hi, I'm working on a preferences panel. I want to build a compound
panel like the kind seen in most mainstream apps today: a toolbar on
top with "tabbed" view switching. The panel changes its appearance
depending on which 32x32 toolbar icon you have selected.

I'm not sure where to start. Looking for examples, I've looked in
Safari's app bundle resources dir, and I see that Safari uses separate
nibs per preferences tab.  When I open one of these nibs, I see a
window object, and that window object has the preference tab's layout.
 Pretty straightforward. Of course, Safari is not open source, so I
can't go any further and see how this design works.

Looking at the source for Transmission, I see they've taken a
different approach, which is to have one PrefsWindow.xib, and in that
xib, a number of View objects, one for each tab. Open the view object
representing a particular preference tab, and you see its layout. I
have not studied the Transmission source yet to see how they make it
all work.

So we have at least 2 accepted ways of doing the tabbed preference
panel thing. But I'd like a better understanding of the hows and why's
overall. Can anyone point me to some Cocoa programming guide docs, or
programming topics docs, on tabbed preference panels? (Are they even
called "tabbed preference panels?")


Thanks,
-s
_______________________________________________

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: Tabbed preference panels
      • From: Andreas Mayer <email@hidden>
    • Re: Tabbed preference panels
      • From: Greg Titus <email@hidden>
    • Re: Tabbed preference panels
      • From: Negm-Awad Amin <email@hidden>
  • Prev by Date: Re: NSString and special characters
  • Next by Date: Re: [moderator] Re: reusing cookies set in UIWebView
  • Previous by thread: Re: Object change to NSView update
  • Next by thread: Re: Tabbed preference panels
  • Index(es):
    • Date
    • Thread