https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
v

Vladimir Vainer

10/11/2023, 1:54 PM
Can I Use compose-multiplatform-ios-android UI In KMP Library? To have shared UI in my library?
p

Pablichjenkov

10/11/2023, 2:00 PM
I believe that is the way it works today's date. When you assemble a framework in shared module, either using cocoapods or regular xcodeframework. The result framework package skiko as a static Library with your compiled code plus the dependent libraries.
v

Vladimir Vainer

10/11/2023, 2:02 PM
Sounds awesome, i will have to try it.
👍 1
p

Pablichjenkov

10/11/2023, 2:06 PM
You can try copying the generated xcframework under the build directory and hand it to an iOS developer and ask them to integrate it in their App. The compose view is represented as a UiViewController.
3 Views