Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NSWindow Mac App Store like Title Bar

How could I make an NSWindow's title bar look like that of the Mac App Store or of the app Feeder where it's height is increased and other controls are show in it.

To see what I mean just check out the website for the Mac App Store : http://www.apple.com/mac/app-store/.

Is it a custom NSWindow or is it a completely borderless window with an NSView made to look like the title bar?

like image 794
Joshua Avatar asked Jan 03 '11 17:01

Joshua


People also ask

Where is the title bar on a Mac?

By default, Mac apps built with Mac Catalyst display a title bar across the top of their windows. A horizontal line separates the title bar from the content of the window. Some Mac apps such as Messages and Contacts have no title bar in their main window.


1 Answers

https://github.com/indragiek/INAppStoreWindow

Title bar and traffic light customization for NSWindow

INAppStoreWindow is an NSWindow subclass that was originally developed to mimic the appearance of the main window in the Mac App Store application introduced in OS X 10.6.6.

The MAS application has since transitioned away from this design, but INAppStoreWindow is still being actively developed to provide extensive additional customization options for NSWindow title bars...

like image 115
afriend Avatar answered Sep 28 '22 08:09

afriend