Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cocoa Interface Builder's 'Attributes Inspector' like window

I'm making a Cocoa application, and I would like a panel like the 'Attributes Inspector' in Interface Builder. So with big tabs on the top and collapsable/expandable groups. Does anyone know how I can do this?

This is an image of the Attributes Inspector:

Attributes Inspector http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeQuickTour/Art/hello_win_attributes.jpg

So I actually want to make a window like the one shown in the image above.


2 Answers

InspectorKit is FOSS on github.

like image 181
Dave DeLong Avatar answered Feb 04 '26 06:02

Dave DeLong


There's no built-in Cocoa controls to do this. You're going to have to write some custom views which replicate the functionality.

There some good advice for creating custom controls in the answers to this question: Looking for info on custom drawing of interface components (Cocoa)

If you need additional help, I recommend you ask smaller, more specific questions explaining what you've tried and what hasn't worked.

like image 40
kperryua Avatar answered Feb 04 '26 07:02

kperryua



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!