Change title bar color in cocoa
If you set the background color of the "textured" window (which is not exactly what you see on Snow Leopard), that color will be applied to the title too. This is what Firefox does.
I would recommend, although I didn't have a real title bar (ie you didn't have a title box) and using +[NSWindow standardWindowButton:forStyleMask:]
and placing your own buttons in the "title". This allows you more control and is less capable.
a source to share
If it's a panel , you can change it to black by creating it as a HUD Window .
Otherwise, you can't. Have you ever noticed that other apps don't have Aqua wallpapers with multicolored titles? That's why.
The only other way to change the appearance of the title bar (without relying on private implementation details such as having a frame view) is to make the window borderless and create its title bar and window buttons from scratch.
a source to share
If you go with Colin's approach to creating a window textured in the UI builder (checkbox in window attributes), enter a string to change the background color of the window you put in that appDelegate function. m file
// In this function ---> - (void) applicationDidFinishLaunching: (NSNotification *) aNotification
// enter this [_wowow setBackgroundColor: NSColor.whiteColor];
a source to share