in swift, you can put a `_` before a function para...
# ios
a
in swift, you can put a
_
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
Try:
Copy code
fun print(@ObjCName(swiftName = "_") text: String)
👍 1
l
Maybe
_text
rather than
_
for the swiftName?