I used to use this code in a project based on xib:
override func windowDidLoad() {
super.windowDidLoad()
window!.titlebarAppearsTransparent = true
self.window!.titleVisibility = NSWindowTitleVisibility.Hidden
self.window!.styleMask = NSFullSizeContentViewWindowMask
window!.movableByWindowBackground = true
}
Now that I rewrote the app basing it on Storyboards, the code don’t work anymore. Any idea because this happens?