Hi all, I would like to create a library for my mo...
# library-development
o
Hi all, I would like to create a library for my mobile app, having a common logic + specific custom components per platform (android and iOS). I've created a common base code in the commonMain, I've also created a CustomButton in the AndroidMain that can be use by my android app. Now the question is, is it possible to create custom components on the iOSMain and use it specifically in my iOS app, I checked and couldn't find any example (except for KMM App but I'm doing a KMM lib). Thanks in advance
t
There shouldn't be any reason why this wouldn't work. It will be compiled to native code for iOS and you have access to the iOS libraries by importing under platform.
o
FYI, It's finally possible, we are able to access ios components but in Kotlin code and not on swift code like in the iOSApp.