On Sun, Jan 11, 2009 at 3:20 AM, Brian Bruinewoud <br...@darknova.com> wrote: > I would like to implement an inspector that has views that show/hide by > clicking on their headings similar to the ones in the Interface Builder > inspector.
Are you talking about the row of buttons at the top that changes the contents of the panel (like the similar Inspector in iWork apps)? If so, you can use a tabless NSTabView and a NSSegmentedControl, though it won't look quite the same (NSSegmentedControl highlights its selection in gray, not blue, rdar://5918481). Set a different tag for each segment of the NSSegmentedControl, and wire up the action of the control to a method on your window controller that switches the selected tab in the NSTabView accordingly. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com