ThemeEngineDelegate

public protocol ThemeEngineDelegate

The protocol that allows for notifications when a theme is changed

  • This is called when the theme has been changed

    Declaration

    Swift

    func themeChanged(theme: Theme)

    Parameters

    theme

    The new theme

  • This is called when the theme is ready to be applied. This is called when the theme is ready or, if the theme is already ready, when the client is registered to the ThemeEngine.

    Declaration

    Swift

    func themeReady(theme: Theme)

    Parameters

    theme

    The new theme