Ah the other gotcha is you may want to call window.styleMask.remove(.fullSizeContentView), otherwise the content area includes the title bar (which SwiftUI can layout in using .ignoreSafeAreas())
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: