Re:What’s new in Swift 6.2
by cosmic_cheese on Saturday May 10, 2025 @01:06PM
(#43947174)
Skip tools is pretty cool and I very may well use it for at some point, but it works by translating Swift+SwiftUI to Kotlin+Compose and I’d prefer a more direct approach that lets me build Android binaries with Swift (preferably with the whole of UIKit available, though that’s not likely).
Re:What’s new in Swift 6.2
by dlachausse on Saturday May 10, 2025 @02:06PM
(#43947637)
From the FAQ…
> Skip supports both compiling Swift natively for Android, and transpiling Swift into Kotlin. Read about Skip’s modes in the documentation.
Re:What’s new in Swift 6.2
by cosmic_cheese on Saturday May 10, 2025 @07:42PM
(#43949962)
Yes, it transpiles a Swift+SwiftUI codebase into a Kotlin+Compose codebase. I don’t want that intermediary step, I want the Swift itself running on Android.
Re:What’s new in Swift 6.2
by dlachausse on Saturday May 10, 2025 @09:47PM
(#43950576)
> Skip supports both native mode - in which your Swift is compiled natively for Android - and transpiled mode - in which your Swift is converted to Kotlin. The mode is specified at the level of a Swift module. Each mode has strengths and weaknesses, and it is common to use both native and transpiled modules within a single Swift-on-Android app.
It’s a set of tools intended to do just that.
https://skip.tools/