Join Slack
is there is a possibility to add IOS library into k/n project? for example, I want to use <socket.io...
# kotlin-native
i
Ivan
12/10/2018, 2:50 PM
is there is a possibility to add IOS library into k/n project? for example, I want to use
socket.io
. Can I write wrapper for common module and use external library to provide actual code?
s
svyatoslav.scherbina
12/10/2018, 3:23 PM
Yes.
https://kotlinlang.org/docs/tutorials/native/interop-with-c.html
(Configuration part applies to Objective-C libraries too). Configuring Gradle build to add iOS library is possible and depends on the plugin you are using.
6
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by