title: How do you reference the view's window in Swift 3.x using Storyboards/Cocoa
body: <p>with all the changes in Xcode and Swift, I can't figure out how to address the view's window in a stotyboard-driven project in the way I'm doing it in projects using XIBs. New to macOS programming so apologies in advance if this is basic stuff:</p>
  
  <p>When using a storyboard, how do I change the view's window state using for instance:</p>
  
  <pre><code>window.titleVisibility = .hidden
  window.setContentSize(size)
  </code></pre>
  
  <p>In an xib-driven project, I'm using </p>
  
  <pre><code>@IBOutlet weak var window: NSWindow!
  </code></pre>
  
  <p>but this doesn't seem to work the same way with storyboards. How do I do the same tihing using storyboards? Any help appreciated!</p>