• 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: Implementing an Inspector similar to the one in IB.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing an Inspector similar to the one in IB.


  • Subject: Re: Implementing an Inspector similar to the one in IB.
  • From: "Kyle Sluder" <email@hidden>
  • Date: Mon, 12 Jan 2009 04:59:17 -0500

On Sun, Jan 11, 2009 at 3:20 AM, Brian Bruinewoud <email@hidden> 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 (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: Implementing an Inspector similar to the one in IB.
      • From: Brian Bruinewoud <email@hidden>
References: 
 >Implementing an Inspector similar to the one in IB. (From: Brian Bruinewoud <email@hidden>)

  • Prev by Date: Re: Getting the mouse position in pixels in QC
  • Next by Date: NSComparisonResult, 'double wildcard'
  • Previous by thread: Re: Implementing an Inspector similar to the one in IB.
  • Next by thread: Re: Implementing an Inspector similar to the one in IB.
  • Index(es):
    • Date
    • Thread