3 ms·
There's a cross-platform option that will give your users the best experience but will also be the most amount of work: make a separate - native - UI per platfo
by marklar423 3y ago
There's a cross-platform option that will give your users the best experience but will also be the most amount of work: make a separate - native - UI per platform.
By this I mean put as much of your core logic and functionality as possible into a shared library, and then make a separate Swift/WinForms/whatever codebase for the UI of each native platform you want to target. Each UI app would call into your shared library.
There is a bit of duplicate work in making separate UIs, but the UX is far superior (IMO) and you have the advantage of not needing workarounds or plugins to access platform-specific features.
- lagrange77 3y agoI think this is the best way for most apps. But in this particular case, the main part of the UI is the preview animation, which by principle needs to look and behave the same on every platform, anyway.
- esafak 3y agoOn paper, Compose Multiplatform lets you do that. It's still bumpy.