ThemeManager
open class ThemeManager
                Class for applying new theme by using the applyTheme function of the shared instance of this class.
- 
                  
                  
Instance of the ThemeManager class that will use throughout the app.
Declaration
Swift
public static let shared: ThemeManager - 
                  
                  
Returns the current theme that is used in the app. To change the current theme, call the applyTheme method.
Declaration
Swift
open var color: ColorTheme { get } - 
                  
                  
Undocumented
Declaration
Swift
open var text: TextTheme - 
                  
                  
Enum which contains Text appearances of Text Styles.
See moreDeclaration
Swift
public enum TextStyle - 
                  
                  
Change the current theme then apply it’s properties to the app.
Declaration
Swift
open func applyColor(theme: ColorTheme = ThemeManager.shared.color, with painter: ColorThemePainter = CheetahColorThemePainter())Parameters
themeStructure that conforms to Theme Protocol.
painterAn instance of a class that conforms to ColorThemePainter protocol.
 - 
                  
                  
Undocumented
Declaration
Swift
public static func setTextAppearance(for views: [UIView], using textAppearance: TextAppearance) - 
                  
                  
Undocumented
Declaration
Swift
public static func setTextStyle(for views: [UIView], using textStyle: ThemeManager.TextStyle) 
View on GitHub
        ThemeManager Class Reference