Skip Navigation
Type MethodMethod

loadAll(in:warningHandler:)

Reads all theme bundles in a directory.

static func loadAll(
    in directory: URL,
    warningHandler: (any ThemeParsingWarningHandler)? = nil
) throws -> [ThemeBundleSource]

Parameters

directory

The directory whose subdirectories are theme bundles.

warningHandler

Receives warnings about unknown keys in the settings.

Return Value

The bundles sorted by name.

Discussion