Join Slack
Hi, I've added a native iOS third library - <SwiftyBeaver> to my `shared/src/iosMain` but it is impo...
# multiplatform
y
ynsok
09/18/2023, 8:42 AM
Hi, I've added a native iOS third library -
SwiftyBeaver
to my
shared/src/iosMain
but it is impossible to use it, could you guys explain to me why is happening like this?
r
Rick Clephas
09/18/2023, 9:01 AM
At the moment Kotlin doesn’t support direct interop with Swift. So you won’t be able to use a pure Swift library from Kotlin.
Rick Clephas
09/18/2023, 9:02 AM
ObjC libraries (or Swift libraries that are compatible with ObjC) can be used with Kotlin.
y
ynsok
09/18/2023, 10:39 AM
that makes total sense, thanks for the answer. Is it considered in the future support for direct interop with swift?
r
Rick Clephas
09/18/2023, 10:41 AM
Yeah please keep an eye on
https://youtrack.jetbrains.com/issue/KT-49521/Support-direct-interoperability-with-Swift
👍 1
4
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by