DefaultLoadingViewController
open class DefaultLoadingViewController : NibViewController, LoadableViewController
A NibViewController
subclass conforming to the LoadableViewController
.
This view controller is the default design for a loading view controller. It has an activity indicator and a label for a loading message.
Note
Being a subclass of aNibViewController
, an associated nib file is required with outlets connected.
-
The activity indicator.
Declaration
Swift
@IBOutlet public var activityIndicator: UIActivityIndicatorView!
-
The loading label
Declaration
Swift
@IBOutlet public var loadingLabel: UILabel!
-
Declaration
Swift
open var loadMessage: String
-
Undocumented
Declaration
Swift
override open func viewWillAppear(_ animated: Bool)
-
Declaration
Swift
override open func setup()
-
Declaration
Swift
open func showLoading()
-
Declaration
Swift
open func hideLoading()