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 (nonatomic) NSString *_Nonnull name;
Swift
var name: String { get set }
-
The permissions for this class.
Declaration
Objective-C
@property (nonatomic) RLMArray<RLMPermission *><RLMPermission> *_Nonnull permissions;
-
Retrieve the object for the named RLMObject subclass. This will return
nil
for non-partial-sync Realms.