RLMRealmConfiguration Class Reference
| Inherits from | NSObject |
| Conforms to | NSCopying |
| Declared in | RLMRealmConfiguration.h |
Overview
An RLMRealmConfiguration is used to describe the different options used to
create an RLMRealm instance.
Tasks
-
+ defaultConfiguration -
+ setDefaultConfiguration: -
pathproperty -
inMemoryIdentifierproperty -
encryptionKeyproperty -
readOnlyproperty -
schemaVersionproperty -
migrationBlockproperty -
objectClassesproperty
Properties
encryptionKey
64-byte key to use to encrypt the data.
@property (nonatomic, copy, nullable) NSData *encryptionKeyDeclared In
RLMRealmConfiguration.hinMemoryIdentifier
A string used to identify a particular in-memory Realm. Mutually exclusive with path.
@property (nonatomic, copy, nullable) NSString *inMemoryIdentifierDeclared In
RLMRealmConfiguration.hmigrationBlock
The block which migrates the Realm to the current version.
@property (nonatomic, copy, nullable) RLMMigrationBlock migrationBlockDeclared In
RLMRealmConfiguration.hobjectClasses
The classes persisted in the Realm.
@property (nonatomic, copy, nullable) NSArray *objectClassesDeclared In
RLMRealmConfiguration.hpath
The path to the realm file. Mutually exclusive with inMemoryIdentifier.
@property (nonatomic, copy, nullable) NSString *pathDeclared In
RLMRealmConfiguration.hClass Methods
defaultConfiguration
Returns the default configuration used to create Realms when no other
configuration is explicitly specified (i.e. [RLMRealm defaultRealm]).
+ (instancetype)defaultConfigurationReturn Value
The default Realm configuration.
Declared In
RLMRealmConfiguration.h