title: Integrating Parse Push Notifications into Xcode 7 project (Swift)
body: <p>I'm integrating Parse Push notifications into an app, and have got caught up in Swift 2.0 conversions. 
  Code is:</p>
  
  <pre><code>if application.respondsToSelector("registerUserNotificationSettings:") {
              let userNotificationTypes: UIUserNotificationType = [.Alert, .Badge, .Sound]
              let settings = UIUserNotificationSettings(forTypes: userNotificationTypes, categories: nil)
              application.registerUserNotificationSettings(settings)
              application.registerForRemoteNotifications()
          } else {
              let types: UIUserNotificationType = [.Badge, .Alert, .Sound]
              application.registerForRemoteNotificationTypes(types)
          }
  </code></pre>
  
  <p>Xcode complains that "Cannot convert value of type 'UIUserNotificationType' to expected argument type 'UIRemoteNotificationType'</p>