logoalt Hacker News

wahnfriedentoday at 7:43 PM1 replyview on HN

SwiftUI is also now an API for writing Android native apps, too.

I don't know why you skipped over that part? It's maybe like when Google rewrote Java. Win32 is a bad comparison because there's no Win32-compatible API for native apps on other platforms (that I know of?) except for emulation, but the Android SwiftUI project is not using emulation, it runs the code natively and the result is native Android UI.


Replies

GeekyBeartoday at 9:18 PM

Apple has not released a version of the SwiftUI framework for Android.

There are third party attempts to create something that lets SwiftUI code run on Android, just as Wine is third party software that allows you to run Win32 apps on Linux.

For example:

> Bringing Swift and SwiftUI to Android

https://skip.tools/blog/bringing-swift-to-android/

show 1 reply