Join Slack
Powered by
Hi guys, I want to start kotlin multiplatform i wa...
# getting-started
o
Obaid Jatoi
06/20/2019, 7:08 AM
Hi guys, I want to start kotlin multiplatform i want to make a shared network library which can be used in android, IOS and web like JS etc, can you please give me a tutorial or anything which covers all platform?
g
GauthierPLM
06/20/2019, 7:10 AM
https://kotlinlang.org/docs/tutorials/multiplatform-library.html
o
Obaid Jatoi
06/20/2019, 7:16 AM
Thanks, i have already read this and completed practicle , how to use this library on different platforms ?
g
GauthierPLM
06/20/2019, 7:18 AM
If your library is portable, you just have to add it as a dependency to your project and call it.
o
Obaid Jatoi
06/20/2019, 8:33 AM
yes, this is my main question , how to make it portable
Obaid Jatoi
06/20/2019, 8:33 AM
any link , or documentation related to that, any example ? specially for IOS
j
Jake
06/26/2019, 11:44 PM
You can output it as a framework. You should have a packForXcode function in your gradle you can run
5
Views
Open in Slack
Previous
Next