The FMPDatabase.Builder class is a builder for the FMPDatabase class.
class Builder
Method | Description |
path(_:) |
Save the full path to database in the application directory to variable. func path(_ path: String) -> Builder Parameters:
|
build() | Build an instance of the FMPDatabase class. It returns the object of the FMPDatabase type. func build() -> FMPDatabase |
Build an instance of the FMPDatabase class:
// Build an instance of the FMPDatabase class with various settings
let database: FMPDatabase = fmp.database
.path("path") // By default ""
.build()
See also: