CBLDatabaseConfiguration
@interface CBLDatabaseConfiguration : NSObject
/**
Path to the directory to store the database in. If the directory doesn't already exist it will
be created when the database is opened. The default directory will be in Application Support.
You won't usually need to change this.
*/
@property (nonatomic, copy) NSString* directory;
/**
Initializes the CBLDatabaseConfiguration object.
*/
- (instancetype) init;
/**
Initializes the CBLDatabaseConfiguration object with the configuration object.
@param config The configuration object.
@return The CBLDatabaseConfiguration object.
*/
- (instancetype) initWithConfig: (nullable CBLDatabaseConfiguration*)config;
@end
Undocumented
-
Path to the directory to store the database in. If the directory doesn’t already exist it will be created when the database is opened. The default directory will be in Application Support. You won’t usually need to change this.
Declaration
Objective-C
@property (readwrite, copy, nonatomic) NSString *_Nonnull directory;
Swift
var directory: String { get set }
-
Initializes the CBLDatabaseConfiguration object.
Declaration
Objective-C
- (nonnull instancetype)init;
Swift
init()
-
Initializes the CBLDatabaseConfiguration object with the configuration object.
Declaration
Objective-C
- (nonnull instancetype)initWithConfig: (nullable CBLDatabaseConfiguration *)config;
Swift
init(config: CBLDatabaseConfiguration?)
Parameters
config
The configuration object.
Return Value
The CBLDatabaseConfiguration object.