Skip Navigation
Instance MethodMethod

generateValueDictionary(_:baseIndent:)

Generates Swift code for a dictionary of generic theme values.

func generateValueDictionary(
    _ values: [String : ThemeSettingValue],
    baseIndent: Int
) -> String

Parameters

values

The values keyed by name.

baseIndent

The indentation level of the line the dictionary starts on.

Return Value

The Swift code for the dictionary literal.