FMPDatabase.Builder

Description

The FMPDatabase.Builder class is a builder for the FMPDatabase class.

class Builder

Methods

Method Description

path(_:)

Save the full path to database in the application directory to variable.
func path(_ path: String) -> Builder

Parameters:

  • path. The full path to database in the application directory.

build() Build an instance of the FMPDatabase class. It returns the object of the FMPDatabase type.
func build() -> FMPDatabase

Example

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:

FMPWrapper Framework | Classes