I probably missed this somewhere, but how do we wi...
# kotlin-native
d
I probably missed this somewhere, but how do we wire up a UIView element in a storyboard, such as a button, to a variable in a kotlin class thats been annotated with
@ObjCOutlet
or a function thats been annotated with
@ObjCAction
?
v
Unfortunately, since it's impossible to extend Xcode's Interface Builder, the only way is to edit the storyboard's XML manually to add the connection between the outlet/action and the UI component.
d
Good to know. Thx