Are there limitations on what is available from in...
# multiplatform
p
Are there limitations on what is available from in Swift in MPP project? In common kotlin code I have some top level functions and vals. They do not appear to be accessible from swift.
r
How are you trying to call them? Top-level things generally translate to Swift as
FileNameKt.foo()
, similar to Java.
p
Oh course! thank you…
t
hm, is there annotation like
@file:JvmName("FileNameUtils")
but for this case, so
FileNameKt
becomes
FileNameUtils
?
o
better ask such questions on #kotlin-native, it has nothing to do with MPP