tags:

views:

213

answers:

2

Hi, I am developing an app in cocoa.I need to show a progress at the bottom bar of window .But i am searching for a solution to put a bottom bar in a NSwindow .Looking forward for a solution

+9  A: 

This is the code to put a bar at the bottom of the window (like in the finder):

[theWindow setContentBorderThickness:24.0 forEdge:NSMinYEdge];
Tom Dalling
Don't forget to set `autorecalculatesContentBorderThickness` to `NO`: http://developer.apple.com/releasenotes/Cocoa/AppKit.html
Peter Hosey
I've been looking for this for over a year, thanks!
alexy13
+2  A: 

Tom's answer is correct, but also take a look at BWToolKit. It includes a few nice controls for working with bottom bars.

Marc Charbonneau