Hi, I'd like to write this Swift code in Kotlin/Native:
let label = UILabel(frame: CGRect(x: 0, y: 0, width: 300, height: 21))
label.center = CGPoint(x: 160, y: 285)
label.textAlignment = .center
label.font = label.font.withSize(25)
label.text = CommonKt.createApplicationScreenMessage()
view.addSubview(label)
Per the Obj-C interop doc, I should be able to write
val label = UILabel.create(frame: CGRect.create(x = 0, y = 0, width = 300, height = 21))
for the first line, but there's no
create(…)
function in the autocomplete when using IntelliJ CE 2018.3 EAP with Kotlin 1.3.0-rc-146… Can anyone give me a hint?