BaseView
class BaseView : UIView
BaseView to use as parent for the main view inside a view controller.
-
The container view for the loading state
Declaration
Swift
private(set) var loadingContainerView: UIView { get }
-
The loading indicator
Declaration
Swift
private(set) var activityIndicator: UIActivityIndicatorView! { get }
-
Property to tell the view to start or stop loading
Declaration
Swift
var isLoading: Bool { get set }
-
Method to display a fullscreen loading in the view, override for specific loading states.
Declaration
Swift
func startLoading()
-
Method to hide the fullscreen loading in the view, override for specific loading states.
Declaration
Swift
func stopLoading()