Skip to content

Commit e04c03a

Browse files
committed
Convert getters/setters of public read/write access on PFACL to properties.
1 parent 45c7279 commit e04c03a

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

Parse/PFACL.h

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -45,32 +45,14 @@ NS_ASSUME_NONNULL_BEGIN
4545
///--------------------------------------
4646

4747
/*!
48-
@abstract Set whether the public is allowed to read this object.
49-
50-
@param allowed Whether the public can read this object.
51-
*/
52-
- (void)setPublicReadAccess:(BOOL)allowed;
53-
54-
/*!
55-
@abstract Gets whether the public is allowed to read this object.
56-
57-
@returns `YES` if the public read access is enabled, otherwise `NO`.
48+
@abstract Controls whether the public is allowed to read this object.
5849
*/
59-
- (BOOL)getPublicReadAccess;
50+
@property (nonatomic, assign, getter=getPublicReadAccess) BOOL publicReadAccess;
6051

6152
/*!
62-
@abstract Set whether the public is allowed to write this object.
63-
64-
@param allowed Whether the public can write this object.
65-
*/
66-
- (void)setPublicWriteAccess:(BOOL)allowed;
67-
68-
/*!
69-
@abstract Gets whether the public is allowed to write this object.
70-
71-
@returns `YES` if the public write access is enabled, otherwise `NO`.
53+
@abstract Controls whether the public is allowed to write this object.
7254
*/
73-
- (BOOL)getPublicWriteAccess;
55+
@property (nonatomic, assign, getter=getPublicWriteAccess) BOOL publicWriteAccess;
7456

7557
///--------------------------------------
7658
/// @name Controlling Access Per-User

0 commit comments

Comments
 (0)