https://kotlinlang.org logo
#ios
Title
# ios
r

Rainer Schlonvoigt

11/16/2020, 10:38 AM
is it possible to give a class a different name on a specific platform?
t

Tijl

11/16/2020, 10:49 AM
@JsName
exists, no
@SwiftName
or something yet, I suspect there must be Youtrack ticket to vote for, else you could create one.
a

Artyom Degtyarev [JB]

11/16/2020, 10:51 AM
Hello, @Rainer Schlonvoigt! Maybe you could use
typealias
? For example, declare it in some intermediate source set shared across iOS targets. Also, please use threads and avoid multiple messages. See kotlinlang Slack CoC.
r

Rainer Schlonvoigt

11/16/2020, 10:57 AM
👍 will use threads in the future
we will for now use a different framework/module name, therefore avoiding the name clash