Foundation (the Swift Standard Library), Dispatch (the concurrency library), and XCTest (the testing framework) are all available and functional on Windows.
Kotlin multiplatform has been around for some time if you want that. But I guess it makes sense to be able to approach it from the other end as well if you're mainly an iOS shop.
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.
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.
16 comments
[ 4.8 ms ] story [ 42.4 ms ] thread(naive question)
Unless I am also mistaken, they are seeking to make a supported language to android development.
Which will save mobile devs having to learn two languages, and also allow reuse of code.
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.
Despite the issues, if Swift and SwiftUI were available and compelling for Android then it may help to give Apple greater mindshare of developers.
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