2 ms·
Are they wrong? SwiftUI doesn't have a concept of window positioning coordinates, but that doesn't mean that MacOS isn't a desktop OS. They just implemented the
by smoldesu 4y ago
Are they wrong? SwiftUI doesn't have a concept of window positioning coordinates, but that doesn't mean that MacOS isn't a desktop OS. They just implemented their windowing stack differently, and honestly I think the Quartz method is a lot nicer.
There's a lot to complain about with Wayland, but this is one of the few changes that seems rooted in logic rather than laziness.
- c-smile 4y agoSwiftUI is not a desktop UI by its concept. It is very close to Web Fronted UI - document UIs running inside a sandbox.
- smoldesu 4y agoAlright, let's go up a layer of abstraction then. Where does the Quartz system expose windowing coordinates the the developer?
- c-smile 4y agoRight here: https://developer.apple.com/documentation/appkit/nswindow/1419697-frame?language=objc https://developer.apple.com/documentation/appkit/nswindow/14...