RLMRealmPermission
@interface RLMRealmPermission : RLMObject
A singleton object which describes Realm-wide permissions.
An object of this type is automatically created in the Realm for you, and more objects
cannot be created manually. Call +[RLMRealmPermission objectInRealm:]
to obtain the
instance for a specific Realm.
See RLMRealmPrivileges
for the meaning of permissions applied to a Realm.
-
The permissions for the Realm.
Declaration
Objective-C
@property (nonatomic) RLMArray<RLMPermission *><RLMPermission> *_Nonnull permissions;
-
Retrieve the singleton object for the given Realm. This will return
nil
for non-partial-sync Realms.Declaration
Objective-C
+ (nullable instancetype)objectInRealm:(nonnull RLMRealm *)realm;