DefaultReloadViewController

open class DefaultReloadViewController : NibViewController, ReloadableViewController

A NibViewController subclass conforming to the ReloadableViewController.

This view controller is the default design for a reload view controller. It has a label for a reload message and a button to execute the reload.

Note

Being a subclass of a NibViewController, an associated nib file is required with outlets connected.
  • The container of the label and button.

    Declaration

    Swift

    @IBOutlet
    public var containerStackView: UIStackView!
  • The reload message label.

    Declaration

    Swift

    @IBOutlet
    public var messageLabel: UILabel!
  • The retry button.

    Declaration

    Swift

    @IBOutlet
    public var retryButton: UIButton!
  • Declaration

    Swift

    open var reload: (() -> Void)?
  • Declaration

    Swift

    open var reloadMessage: String
  • Undocumented

    Declaration

    Swift

    override open func viewWillAppear(_ animated: Bool)
  • Declaration

    Swift

    override open func setup()