Currently I am trying to create a standalone window which is triggered from pressing a drop down button in a status bar icon. I am able to create windows however I am unable to move, minimise or close the windwos and they have the missing red, oragne and yellow butons that are visible in Mac.
Any ideas how to fix?
Edit: to provide more details I am building a Status bar app. I have removed the default windows Views controller from Storyboard and create a new one to make up my "settings" Screen ( screenshot below)
I use the following code to instantiate the window -
let mainStoryboard = NSStoryboard(name: NSStoryboard.Name(rawValue: "Main"), bundle: nil) let myWindowController = mainStoryboard.instantiateController(withIdentifier: NSStoryboard.SceneIdentifier(rawValue: "NewWindowVC")) as? NSWindowController window?.windowController = myWindowController
and it results in the screen with no red, yellow and green buttons whic isn't movable and doesn't have the buttons on it..