The ideal workflow to manage all presentation logic would be to use swift UI without relying on storyboards. As it stands, creating a macOS application using swift UI includes a storyboard file to manage application windows. While swift UI is a HUGE step in the right direction, It's definitely lacking when it comes to macOS specific support. a sample implementation is as shown below.
import SwiftUI
struct WindowView : Window {
var title = "My window"
var width = 200
var height = 300
var resizeable = false
var toolbar: Toolbar {}
var sidebar: Sidebar {}
var body: some View {}
}This would be a game changer making swift UI a much more powerful addition to the ecosystem and a complete solution for UI management.
Any thoughts?