• 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: Brian Bruinewoud <email@hidden>
  • Date: Tue, 13 Jan 2009 21:54:18 +1100

Just to clarify, I mean the exposable areas below that can be shrunk to a heading or expanded to full. The link that Brandon posted is exactly what I'm after.

So, thanks everyone for the reply.

On 12/01/2009, at 20:59 , Kyle Sluder wrote:

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


References: 
 >Implementing an Inspector similar to the one in IB. (From: Brian Bruinewoud <email@hidden>)
 >Re: Implementing an Inspector similar to the one in IB. (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: [MEET] Amsterdam CocoaHeads, Wed Jan 14
  • Next by Date: Re: NSImage resizing
  • Previous by thread: Re: Implementing an Inspector similar to the one in IB.
  • Next by thread: Sync problems with NSArrayController + NSSortDescriptor + NSTextField
  • Index(es):
    • Date
    • Thread