CLASS
UIStyle
Contents
- Methods
init(paddingLeft:paddingTop:paddingRight:paddingBottom:backgroundColor:)init(from:)
 
open class UIStyle: Decodable
The base UIStyle used for UI components styling definitions. Contains the common definitions used in the UI components configuration. Subclasses contain component specific configurations.
Methods
init(paddingLeft:paddingTop:paddingRight:paddingBottom:backgroundColor:)
public init(paddingLeft: Double,
            paddingTop: Double,
            paddingRight: Double,
            paddingBottom: Double,
            backgroundColor: UIColor?)
Creates a UIStyle.
- Parameters:
- paddingLeft: The left padding of the view.
 - paddingTop: The top padding of the view.
 - paddingRight: The right padding of the view.
 - paddingBottom: The bottom padding of the view.
 - backgroundColor: The background color.
 
 
Parameters
| Name | Description | 
|---|---|
| paddingLeft | The left padding of the view. | 
| paddingTop | The top padding of the view. | 
| paddingRight | The right padding of the view. | 
| paddingBottom | The bottom padding of the view. | 
| backgroundColor | The background color. | 
init(from:)
public required init(from decoder: Decoder) throws
Parameters
| Name | Description | 
|---|---|
| decoder | The decoder to read data from. |