The Swift SDK for Android
swift.org
The Swift SDK for Android
1–10 of 298 posts
Re: The Swift SDK for Android
#2Re: The Swift SDK for Android
#3Is Swift now going to be the de facto language for Mobile (and maybe Desktop) development?
Re: The Swift SDK for Android
#4I'm just getting started in iOS development as a hobby, but what does this mean? Can I now build my app in Xcode with an Android target and use that binary in the Play Store? It surely can't be that easy now is it?
The example Activty I saw is pretty rough ergonomically, but I have no doubt an ergonomic, SwiftUI-like library could be built on top of what’s currently there and/or on the roadmap.
Re: The Swift SDK for Android
#5I'm just getting started in iOS development as a hobby, but what does this mean? Can I now build my app in Xcode with an Android target and use that binary in the Play Store? It surely can't be that easy now is it?
No. The vision document[1] lays out the direction of travel. Currently the focus is on shared business logic and libraries, rather than full native applications (although that's certainly a goal, albeit a very long term one).
[1]: https://github.com/swiftlang/swift-evolution/pull/2946/files
Re: The Swift SDK for Android
#6Re: The Swift SDK for Android
#7I'm just getting started in iOS development as a hobby, but what does this mean? Can I now build my app in Xcode with an Android target and use that binary in the Play Store? It surely can't be that easy now is it?
Same way there are C compilers for Windows and Linux, but that does not mean binary compatibility.
Re: The Swift SDK for Android
#8I'm just getting started in iOS development as a hobby, but what does this mean? Can I now build my app in Xcode with an Android target and use that binary in the Play Store? It surely can't be that easy now is it?
Without Skip, you can still share other code through JNI - similar to Kotlin Multiplatform.
Re: The Swift SDK for Android
#9I have an existing Swift / SwiftUI app that I am looking to port to Android, and have been not wanting to move to React Native.
Re: The Swift SDK for Android
#10How miserable it would be trying to write Java or kotlin targeting iOS apps. I think this will be the same.
Just use the native tools and languages for the platform. Swift/Objc/xcode for iOS. Java/Kotlin/Android Studio for Android.
You will be so much happier.