The FMPUtils.Parser.Builder class is a builder for the FMPUtils.Parser class.
class Builder
Method | Description |
json(_:) | Save the JSON structure, with which FMPUtils.Parser will work, to variable. func json(_ json: NSDictionary) -> Builder Parameters:
|
build() | Build an instance of the FMPUtils.Parser class. It returns the object of the FMPUtils.Parser type. func build() -> FMPUtils.Parser |
Build an instance of the FMPUtils.Parser class:
// Build an instance of the FMPUtils.Parser class
let parser: FMPUtils.Parser = FMPUtils().parser
.json(["key":"value"]) // By default [:]
.build()
See also: