title: Implementing didRegisterForRemoteNotificationsWithDeviceToken in a Swift extension does not work
body: <p>I'm trying to slowly migrate from Obj-C to Swift. My first step is to migrate small, simple methods to Swift extensions so I decided to try and migrate <code>didRegisterForRemoteNotifications</code> but that didn't work because it thinks the method is implemented somewhere else in my Objective-C code. It is not.</p>
  
  <p>I'm using Xcode 7.3 (7D175)</p>
  
  <p>Here's some reproduction steps:</p>
  
  <ul>
  <li>Create a new Obj-C project.</li>
  <li>Create a new empty Swift file called <code>AppDelegate-Extension.swift</code>. This also creates a Bridging header file.</li>
  <li>Add <code>#import AppDelegate.h</code> to the Briding header file.</li>
  <li><p>Go to the empty Swift file and type:</p>
  
  <pre><code>extension AppDelegate {
  
      public func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) {
  
      }
  }
  </code></pre></li>
  </ul>
  
  <p>This causes to compiler to complain:</p>
  
  <blockquote>
    <p>method 'application(_:didRegisterForRemoteNotificationsWithDeviceToken:)' with Objective-C selector 'application:didRegisterForRemoteNotificationsWithDeviceToken:' conflicts with previous declaration with the same Objective-C selector
        public func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) {
                    ^
    __ObjC.AppDelegate:38:17: note: 'application' previously declared here
        public func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData)</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>
  
  <p><strong>EDIT:</strong> 
  Some suggestions that I've tried:</p>
  
  <blockquote>
    <p>Add <code>override</code> to the method declaration so it reads <code>override public ...</code></p>
  </blockquote>
  
  <p>This returns the following error (in addition to the original error)</p>
  
  <blockquote>
    <p>error: method does not override any method from its superclass
        override public func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData)</p>
  </blockquote>