Skip Navigation
Instance MethodMethod

swiftPropertyName(for:)

Converts a theme name to the name of the property holding its settings.

func swiftPropertyName(for themeName: String) -> String

Parameters

themeName

The theme name (e.g., “default”, “docc-static-classic”).

Return Value

The Swift property name (e.g., “defaultThemeData”, “classicThemeData”).