Skip Navigation
Instance MethodMethod

generateSpacingDictionary(_:baseIndent:)

Generates Swift code for a spacing dictionary.

func generateSpacingDictionary(
    _ spacing: [String : String],
    baseIndent: Int
) -> String

Parameters

spacing

The spacing dictionary to convert.

baseIndent

The base indentation level.

Return Value

The Swift code for the spacing dictionary.