Skip to content

Commit 3245763

Browse files
paivaricflovilmart
authored andcommitted
Fix to work with version 1.17.1 (#1323)
1 parent 5bf27a2 commit 3245763

File tree

1 file changed

+5
-5
lines changed
  • ParseStarterProject/OSX/ParseOSXStarterProject-Swift/ParseOSXStarterProject

1 file changed

+5
-5
lines changed

ParseStarterProject/OSX/ParseOSXStarterProject-Swift/ParseOSXStarterProject/AppDelegate.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ class AppDelegate: NSObject, NSApplicationDelegate {
4040

4141
let defaultACL: PFACL = PFACL()
4242
// If you would like all objects to be private by default, remove this line.
43-
defaultACL.getPublicReadAccess = true
43+
defaultACL.hasPublicReadAccess = true
4444

4545
PFACL.setDefault(defaultACL, withAccessForCurrentUser: true)
4646

4747
// ****************************************************************************
4848
// Uncomment these lines to register for Push Notifications.
4949
//
50-
// let types: NSRemoteNotificationType = [.Alert, .Badge, .Sound]
51-
// NSApplication.sharedApplication().registerForRemoteNotificationTypes(types)
50+
// let types: NSRemoteNotificationType = [.alert, .badge, .sound]
51+
// NSApplication.shared().registerForRemoteNotifications(matching: types)
5252
//
5353
// ****************************************************************************
5454

@@ -76,6 +76,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
7676
// Uncomment these lines to track Push Notifications open rate in Analytics.
7777
//
7878
// func application(application: NSApplication, didReceiveRemoteNotification userInfo: [String : AnyObject]) {
79-
// PFAnalytics.trackAppOpenedWithRemoteNotificationPayload(userInfo)
79+
// PFAnalytics.trackAppOpened(withRemoteNotificationPayload: userInfo)
8080
// }
81-
}
81+
}

0 commit comments

Comments
 (0)