SEssentialsStyle is the base class for all styles in ShinobiEssentials. Each control has its own particular style object, which it uses to determine its appearance.
SEssentialsStyle objects are initialized from an instance of SEssentialsTheme. The theme is the base on which any concrete style object is built. This allows us to ensure that controls across an application have a common look and feel.
All concrete style classes inherit from this base class.
DEPRECATED: We create a style object with a theme, but we no longer hold a persistent reference to it. If you wish to update your style object with a theme, you should call
@property (nonatomic, retain) SEssentialsTheme *theme
This defaults to use the global theme but when set it can listen to a specific theme.
- (void)applyTheme:(SEssentialsTheme *)theme
For example, the progress indicator style will use the secondary tint color on the theme to set its tint color.
Initialize the style with a particular theme.
- (instancetype)initWithTheme:(SEssentialsTheme *)theme