FWConfiguration

public struct FWConfiguration

The configuration used to create a form.

  • The JSON provided as Data.

    Declaration

    Swift

    public let json: Data
  • The form’s color style.

    Declaration

    Swift

    public let style: FWStyle
  • Initializes a FWFormViewController configuration with a custom style (if not provided by the JSON file).

    Declaration

    Swift

    public init(json: Data, style: FWStyle)

    Parameters

    json

    JSON Data used to create the form.

    style

    The Form visual style.

  • Initializes a FWFormViewController configuration with a light style (if not provided by the JSON file).

    Declaration

    Swift

    public init(json: Data)

    Parameters

    json

    JSON Data used to create the form.