PollingViewController
The PollingViewController is a subclass of BaseViewController and is themed with PollingViewControllerStyle. This view controller handles PollingModel.
UI structure
The root structure is composed of a StackView that contains the following elements.
| Name | Description | 
|---|---|
| ActionableButton | A UI component similar to a native UIButton with some default styling configuration. | 
| LoadingIndicatorView | A UI component informing users about the status of ongoing processes. | 
Modifying the UI structure
It is possible to remove or add any elements in the root structure.
To remove an existing element, invoke removeFromSuperview() for the selected element.
To add a new view, invoke one of the following methods:
insertView(_ view: UIView, aboveView: UIView)insertView(_ view: UIView, belowView: UIView)
Subclassing
When subclassing and instantiating your new view controller, a ThemeRegistry and a corresponding UIModel are required for the super constructor.
class CustomFormViewController: PollingViewController {
    init(model: PollingModel, themeRegistry: ThemeRegistry) {
        super.init(model: model, themeRegistry: themeRegistry)
        // Your implementation
    }
  
  	// Your custom implementation
}