title: Objective-C method conflicts with optional requirement method Swift
body: <p>After the Xcode update, the compiler began to throw an error on the working code (both functions are in the AppDelegate.swift).</p>
  
  <pre><code>func application(application: UIApplication,
      didFinishLaunchingWithOptions launchOptions: NSDictionary?) -&gt; Bool 
  {
      FBLoginView.self
      FBProfilePictureView.self
      return true
  }
  </code></pre>
  
  <p>With error:</p>
  
  <blockquote>
    <p>/Users/../AppDelegate.swift:14:11: Objective-C method 'application:didFinishLaunchingWithOptions:' provided by method 'application(<em>:didFinishLaunchingWithOptions:)' conflicts with optional requirement method 'application(</em>:didFinishLaunchingWithOptions:)' in protocol 'UIApplicationDelegate'</p>
  </blockquote>
  
  <p>And second</p>
  
  <pre><code>func application(application: UIApplication,        
                              openURL url: NSURL,
                              sourceApplication: NSString?,
                              annotation: AnyObject) -&gt; Bool {
      var wasHandled:Bool = FBAppCall.handleOpenURL(url, sourceApplication: sourceApplication as! String)
      return wasHandled
  }
  </code></pre>
  
  <p>with error</p>
  
  <blockquote>
    <p>/Users/../AppDelegate.swift:25:11: Objective-C method 
    'application:openURL:sourceApplication:annotation:' provided by method 'application(<em>:openURL:sourceApplication:annotation:)' conflicts with optional requirement method 'application(</em>:openURL:sourceApplication:annotation:)' in protocol 'UIApplicationDelegate'</p>
  </blockquote>
  
  <p>I understand that most likely I should like you to stick together somehow these two functions into one. I do not understand why this code suddenly stopped working in 6.3, despite the fact that it worked in 6.2.</p>