←back to thread

30 points desertmonad | 1 comments | | HN request time: 0.292s | source
Show context
dfabulich ◴[] No.44391392[source]
You can use Swift on Android today with Skip Tools. https://skip.tools/ The Skip devs are founding members of the Swift on Android working group.

When using Skip Fuse, your Swift code compiles to 100% native Android ARM code.

They've also reimplemented ~60% of SwiftUI on Android, in an open-source library, SkipUI. https://github.com/skiptools/skip-ui SkipUI works way better than you'd think, and anyway, it's totally optional.

You can just write Swift against native Android APIs and it works fine.

replies(1): >>44393167 #
bentocorp ◴[] No.44393167[source]
If Apple was really serious about combating the use of Electron and other cross-platform frameworks they would seriously support (and possibly even fund) a tool like this.

Despite the issues, if Swift and SwiftUI were available and compelling for Android then it may help to give Apple greater mindshare of developers.

replies(1): >>44394393 #
1. akmarinov ◴[] No.44394393[source]
If Apple cared, they would’ve just included “no cross-platform apps” in their Appstore ToS and they’d be dead the next day.

That’s how Apple fights problems these days - gatekeeping and regulation.

They don’t care though, cross platform apps bring money the same way as any app