Hi folks, is possible to replace all Swift names f...
# multiplatform
s
Hi folks, is possible to replace all Swift names from objc header with a Prefix? For example, I want that all my Kotlin class by default have the Prefix
Kmm
on
swift_name
k
Not sure if you can do it globally but you can use
@ObjcName
to rename individual files (https://kotlinlang.org/docs/whatsnew18.html#improved-objective-c-swift-interoperability)
e
Sorry for digging up this thread, but I'm looking for a way to name the 'file' that contains top-level declarations so that its name is nicer in Swift
It seems that
@ObjcName
cannot be used for naming the file, only classes, functions, etc.