2009
11.02

After searching the net endlessly for a way to add bottom bar to my Cocoa app, found that it is actually really simple to add bottom bars to a window.

For those who don’t know what a bottom bar is have a look at the screenshot.

Finder window with a bottom bar.

Finder window with a bottom bar.



All you have to do is goto Interface Builder and select the window that you want the bottom bar to be added and go to Inspector and select the size tab (as in screenshot) and at the bottom, in “Content Border” select “Small Bottom Border” or type the size of the border that you want.

Or using the following code you can do it as well

[someWindow setContentBorderThickness:24.0 forEdge:NSMinYEdge];

Inspector window in Interface Builder.

Inspector window in Interface Builder.

And the final result will look something like this. After that you can add controls to your awesome bottom bar.

A window with an awesome bottom bar.

A window with an awesome bottom bar.

Similar Posts:

No Comment.

Add Your Comment