title: UIWebView and JavaScriptInterface in Swift
body: <p>How can I to create the JavascriptInterface channel from my web site to my UIWebView?</p>
  
  <p>Example in Android:</p>
  
  <pre><code>webView.addJavascriptInterface(new WebAppInterface(this), "Android");
  </code></pre>
  
  <p>And from this JavascriptInterface I would like to draw the methods, as for example:</p>
  
  <pre><code>func webViewDidStartLoad(webView: UIWebView)
  </code></pre>
  
  <p>or</p>
  
  <pre><code>myActivityIndicator.startAnimating()
  </code></pre>
  
  <p>How can I do?</p>