Type MethodMethodload
loadAll(in:warningHandler:)
Reads all theme bundles in a directory.
static func loadAll(
in directory: URL,
warningHandler: (any ThemeParsingWarningHandler )? = nil
) throws -> [ThemeBundleSource ]Parameters
directoryThe directory whose subdirectories are theme bundles.
warningHandlerReceives warnings about unknown keys in the settings.
Return Value
The bundles sorted by name.