aherbel
12/23/2025, 2:26 PMshared/commonMain source set, in my shared/iosMain source set but from a Swift file, so I can write a fully native SwiftUI API. I was looking in the internet, and I wasn't able to find any implementation around this.
My idea is that I can reuse my generated models so we don't have to maintain 2 implementations of the same logic.
The final XCFramework should contain these new Swift files included as part of the API.
Is this something achievable with KMP?
I think my question is: can I write a Swift file inside shared/iosMain souce set that uses the Kotlin code from the shared/commonMain source set?
Please let me know if my explanation is confusing or you need me to expand on it