https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
s

Sergio Casero

04/14/2020, 8:42 AM
Hello, is there any way to use extension functions from kotlin on swift??, for example
Copy code
fun UIViewController.hello() { println("Hello from kotlin") }
r

rudolf.hladik

04/14/2020, 5:38 PM
you can use them, but like static funtions
Copy code
hello(viewControler: UIViewController)
👍 1
4 Views