title: How to use both google+ and facebook login in same appdelegate.swift
body: <p>My app use google+ signin and in my appdelegate.swift i have:</p>
  
  <pre><code>func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -&gt; Bool {
      // Override point for customization after application launch.
  
      var configureError: NSError?
      GGLContext.sharedInstance().configureWithError(&amp;configureError)
      assert(configureError == nil, "Error configuring Google services: \(configureError)")
  
      GIDSignIn.sharedInstance().delegate = self
  
      return true
  
  }
  
  
  func application(application: UIApplication,
      openURL url: NSURL, sourceApplication: String?, annotation: AnyObject) -&gt; Bool {
          return GIDSignIn.sharedInstance().handleURL(url,
              sourceApplication: sourceApplication,
              annotation: annotation)
  }
  </code></pre>
  
  <p>Now i would like to insert also facebook login, but i have to add in appdelegate.swift this code:</p>
  
  <pre><code>func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -&gt; Bool {
      // Override point for customization after application launch.
      return FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions)
  }
  
  func application(application: UIApplication,
      openURL url: NSURL,
      sourceApplication: String?,
      annotation: AnyObject?) -&gt; Bool {
          return FBSDKApplicationDelegate.sharedInstance().application(
              application,
              openURL: url,
              sourceApplication: sourceApplication,
              annotation: annotation)
  }
  </code></pre>
  
  <p>But this return error because the functions 'application' already exist, how can I perform both google+ and facebook same appdelegate.swift
  Thank you.</p>