Skip to content

Commit 4c1992d

Browse files
committed
Use properties instead of method invocations in Starter Projects.
1 parent b38ea8e commit 4c1992d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ParseStarterProject/OSX/ParseOSXStarterProject/ParseOSXStarterProject/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification {
3131
PFACL *defaultACL = [PFACL ACL];
3232

3333
// If you would like all objects to be private by default, remove this line.
34-
[defaultACL setPublicReadAccess:YES];
34+
defaultACL.publicReadAccess = YES;
3535

3636
[PFACL setDefaultACL:defaultACL withAccessForCurrentUser:YES];
3737

ParseStarterProject/iOS/ParseStarterProject/ParseStarterProject/ParseStarterProjectAppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
4242
PFACL *defaultACL = [PFACL ACL];
4343

4444
// If you would like all objects to be private by default, remove this line.
45-
[defaultACL setPublicReadAccess:YES];
45+
defaultACL.publicReadAccess = YES;
4646

4747
[PFACL setDefaultACL:defaultACL withAccessForCurrentUser:YES];
4848

0 commit comments

Comments
 (0)