CLASS

PollingViewControllerStyle

Contents

public final class PollingViewControllerStyle: BaseViewControllerStyle

The UIStyle subclass used for PollingViewController UI styling definitions.

- contentStyle: String
- linksStyle: String
- loadingIndicatorViewStyle: String
- loadingIndicatorSideDimension: Number
- messagesStyle: String
- paddingLeft: Number
- paddingTop: Number
- paddingRight: Number
- paddingBottom: Number

Methods

init(contentStyle:loadingIndicatorViewStyle:loadingIndicatorSideDimension:headerTextAppearance:headerTextColor:messagesStyle:linksStyle:paddingLeft:paddingTop:paddingRight:paddingBottom:backgroundColor:)

public init(contentStyle: StackViewStyle,
            loadingIndicatorViewStyle: LoadingIndicatorViewStyle,
            loadingIndicatorSideDimension: Double,
            headerTextAppearance: TextAppearance,
            headerTextColor: UIColor,
            messagesStyle: StackViewStyle,
            linksStyle: StackViewStyle,
            paddingLeft: Double,
            paddingTop: Double,
            paddingRight: Double,
            paddingBottom: Double,
            backgroundColor: UIColor?)

Creates a PollingViewControllerStyle.

Parameters

Name Description
contentStyle The stack view style for the content.
loadingIndicatorViewStyle The loading indicator view style.
loadingIndicatorSideDimension The side dimension for the loading indicator view.
headerTextAppearance The text appearance for the header.
headerTextColor The text color for the header.
messagesStyle The stack view style for the messages area.
linksStyle The stack view style for the links area.
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.