4 ms·
I see. We’re talking about different levels of abstraction. There are two approaches there. One is to project abstract UI onto platform controls (React Native)
by vbsteven 5y ago
I see. We’re talking about different levels of abstraction.
There are two approaches there. One is to project abstract UI onto platform controls (React Native), the other is to use “drawing” (Flutter). Both have their pros and cons.
The main drawback of abstracting over controls is that each platform works very differently and the abstraction quickly starts leaking. Also some of the targets don’t have any controls like the terminal. All you can do in a terminal is draw text in rows and columns.
That is why most (not all) cross platform frameworks abstract on the drawing level. Gtk, Qt, Flutter, Druid, Dear ImGui and many more.
- agumonkey 5y agoGot you. It's indeed very subtle to map UI controls over different mechanisms