3 ms·
> What I'd like to see is something that abstracts as much as it can but still allows you to make something look like a native app on that platform. Yes, I’ve
by kitsunesoba 5y ago
> What I'd like to see is something that abstracts as much as it can but still allows you to make something look like a native app on that platform.
Yes, I’ve long thought this as well.
I think it’ll take an entirely different approach than cross platform UI libraries typically take — rather than implementing widgets itself, it would have the developer provide a somewhat loose “UI spec” document that then gets compiled into a UI befitting each target platform. Not only widget appearances and behaviors would vary between platforms, but also window layouts. The only exception to the rule of not implementing widgets itself would be where one platform lacks a widget to avoid least common denominator problems (for example, WinUI and GTK have nothing resembling Cocoa’s miller column NSBrowser control, so those platforms would get an implementation of that view built from other native controls).
It wouldn’t fit every use case since it wouldn’t provide down-to-the-pixel control but it would work for a lot of software.