You can instantiate Kotlin classes and call Kotlin functions from Swift: SimpleClass().simpleFunction()
.
In Kotlin:
class SimpleKotlinClass {
fun simpleKotlinFunction(): String {
return "Kotlin member function in Kotlin class returning String value"
}
}
In Swift:
print(SimpleKotlinClass().simpleKotlinFunction())