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
Vyacheslav Karpukhin [JB]
04/11/2018, 11:08 PM
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.