The Swift SDK for Android
31–40 of 298 posts
Re: The Swift SDK for Android
#32I would love if I don't have to port my whole iOS app to Android manually. How exactly would this integration work if say business logic is handled by Swift - I'm guessing UI and SwiftUI would not be supported initially? My app [0] uses a lot of metal shader code - I'm guessing there's no easy way to bring that across? [0] https://apps.apple.com/app/apple-store/id1545223887
It'll take you thirty minutes to port the shaders with a modern LLM. I am not joking. I have done this. Shaders are pretty simple. You'll have some weird artifacts but thats more because of platform differences than translation errors.
Re: The Swift SDK for Android
#33What does this mean for React Native? Is Swift now going to be the de facto language for Mobile (and maybe Desktop) development?
Re: The Swift SDK for Android
#34I think people will get excited about this and then quickly realize how painful it is to code in a foreign environment from the platform. How 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.
Browsers are pretty much the gold standard here, ironically. You might have to care if it's Firefox or Chrome but it's very rare for you to have to care if it's Firefox on Windows or Mac or Linux. It's exactly why React is simultaneously horrible and everywhere.
So it can be done, it's just a question of whether that framework has done it well, ideally while also doing other things well (unlike React).
Re: The Swift SDK for Android
#35> Over 25% of packages in the Swift Package Index already build for Android That's... not encouraging.
I'm pretty happy with that number, considering this ecosystem is _brand new_. This is the lowest it'll be.
Re: The Swift SDK for Android
#36What does this mean for React Native? Is Swift now going to be the de facto language for Mobile (and maybe Desktop) development?
Re: The Swift SDK for Android
#37It is a shame because aesthetically Swift is easily the nicest of the modern safe languages, but there have been really odd noises in the community about project leadership that sour things.