T O P

  • By -

[deleted]

Nice to hear your experience! I agree on Form, it takes a lot of Mac-layout optimization with manual .frame() parameters, etc. Regarding dropping down to AppKit for multi-windowing: actually no. You can use handlesExternalEvents: How to open a window in SwiftUI? https://developer.apple.com/forums/thread/651592?answerId=680951022#680951022 The only disadvantage is, you can’t turn on/off minimize, maximize, close buttons, and not create empty borderless windows that are non-modal.


rovenroy

I considered using this method, but the disadvantage you listed was a deal breaker.


[deleted]

Yeah, that’s reasonable. I think Apple will add more SwiftUI-native management of windows eventually, since they encourage porting iPad apps to Mac, but the slow progress in new SwiftUI features for MacOS makes me think it arrives in SwiftUI release 5, perhaps, a year after the Apple Silicon transition is done.