File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
ParseStarterProject/OSX/ParseOSXStarterProject-Swift/ParseOSXStarterProject Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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+ }
You can’t perform that action at this time.
0 commit comments