title: application openURL in Swift
body: <p>I am having an issue with the Appdelegate method OpenURL.</p>
  
  <p>I have setup my Imported UTI's and Document Type. But when opening my app from a mail attachment, the app crashes immediately when I have the method implemented.</p>
  
  <p>The depreciated handleOpenURL works, but not OpenURL?</p>
  
  <p>At the moment I have no code in the implementation, and am just returning true.</p>
  
  <pre><code>func application(application: UIApplication, openURL url: NSURL, sourceApplication: String, annotation: AnyObject?) -&gt; Bool {
      return true
  }
  </code></pre>
  
  <p>The crash says <code>Thread 1: EXC_BAD_ACCESS (code-1, address-0x0)</code></p>
  
  <p>I don't really want to have to use the deprecated method.</p>