before a function parameter name to remove the enforcement of the caller to specify the name on the argument.
any way to do the same when consuming kotlin functions from swift?
I want to create
fun print(text:String)
and consume it like
print("hello")
from Swift, not
print(text:"hello")
d
Darron Schall
04/14/2024, 3:10 PM
Try:
Copy code
fun print(@ObjCName(swiftName = "_") text: String)