I'm working on a little mac app where I want a pretty specific style for the window. I want to remove the application's menu bar completely, and then go about adding a custom close button. (Just a little white 'X' with no borders.) The reason I want this is I'm looking to make the application's background image cover the entire window, not just the view controller area and a gray title bar splotched above. So far, my window controller contains this:
self.window!.titleVisibility = NSWindowTitleVisibility.Hidden;
self.window!.titlebarAppearsTransparent = true
self.window!.movableByWindowBackground = true
All this does is remove the gray bar, but the buttons are left just where they were.
Thanks for reading, all help is appreciated.