in my swift code. It cannot find. I am adding image please have a look.
Vivek Modi
05/05/2022, 2:04 PM
message has been deleted
l
Landry Norris
05/05/2022, 6:36 PM
Swift doesn't have global variables and functions. Kotlin translates them to static on a class called {filename}Kt, so for example, var bar in Foo.kt translates to FooKt.bar in swift