title: How to add reference from storyboard to Kotlin file
body: <p>I've created a sample <code>Kotlin/Native</code> iOS app using <code>AppCode</code>. It runs perfectly fine. The sample app contains one <code>UILabel</code>, one <code>UITextField</code> and a <code>Button</code>. When the user clicks the button, the textfield data will be shown in the label.</p>
  
  <p>Now, I've added a new button using <code>XCode</code>'s <code>InterfaceBuilder</code>, but I don't know how to connect the button to the <code>ViewController.kt</code> file. Usually, when using <code>Swift</code>, a simple drag and drop from the <code>InterfaceBuilder</code> to the <code>Swift</code> file would automatically make the connection. But in my case it's not a <code>Swift</code> file, but <code>Kotlin</code>. </p>
  
  <p><strong>How do i make the connection to the <code>Kotlin</code> view controller file from the <code>InterfaceBuilder</code></strong> ? I tried the drag and drop, but it doesn't work.</p>
  
  <p>I tried manually editing the storyboard file using a text editor and added the connection. It did work. but I don't feel like it as a perfect solution. <strong>Is there any alternative?</strong></p>
  
  <p>Below given the screenshot of the App. </p>
  
  <p>Here's the <a href="https://github.com/theapache64/Konan/tree/91b6beab1a5c6692cad8509aa47b0f772caba333" rel="nofollow noreferrer">github link</a> for the source code. </p>
  
  <p><a href="https://i.stack.imgur.com/e774c.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e774c.jpg" alt="Sample app"></a></p>