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

FranGSierra

10/23/2019, 8:20 AM
Hello, there is any way to change the name of the headers of the binaries generated for iOS project? if my
sharedModule
class is
Storage
on iOS it's generated and called as
StorageKT
. There is any way to change the name programatically?
a

Artyom Degtyarev [JB]

10/23/2019, 8:44 AM
Hello! Can you clarify a bit - are you talking about the top-level functions, that are transformed as follows(https://github.com/JetBrains/kotlin-native/blob/master/OBJC_INTEROP.md#top-level-functions-and-properties), or about prefixes derived from the framework name?
f

FranGSierra

10/23/2019, 8:54 AM
Top level functions
in that example. if its possible to generate
MyLibraryUtilsKt
as
MyLibraryUtils
a

Artyom Degtyarev [JB]

10/23/2019, 11:36 AM
Unfortunately, this option is unavailable for now.
2 Views