RLMClassPermission
@interface RLMClassPermission : RLMObject
An object which describes class-wide permissions.
An instance of this object is automatically created in the Realm for class in your schema,
and should not be created manually. Call +[RLMClassPermission objectInRealm:forClassNamed:]
or +[RLMClassPermission objectInRealm:forClass:] to obtain the existing instance, or
query RLMClassPermission as normal.
-
The name of the class which these permissions apply to.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSString *_Nonnull name; -
The permissions for this class.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) RLMArray<RLMPermission *><RLMPermission> *_Nonnull permissions; -
Retrieve the object for the named RLMObject subclass. This will return
nilfor non-partial-sync Realms.Declaration
Objective-C
+ (nullable instancetype)objectInRealm:(nonnull RLMRealm *)realm forClassNamed:(nonnull NSString *)className; -
Retrieve the object for the given RLMObject subclass. This will return
nilfor non-partial-sync Realms.Declaration
Objective-C
+ (nullable instancetype)objectInRealm:(nonnull RLMRealm *)realm forClass:(nonnull Class)cls;
View on GitHub
Install in Dash
RLMClassPermission Class Reference