BaseViewController
open class BaseViewController<T> : UIViewController where T : UIView
Generic base view controller that automatically loads the underlying BaseView of type T.
-
The view managed by the view controller typed by the
BaseViewControllergeneric.Declaration
Swift
open var underlyingView: T { get }
-
Undocumented
Declaration
Swift
public init() -
Undocumented
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Undocumented
Declaration
Swift
open override func loadView() -
Undocumented
Declaration
Swift
open override func viewDidLoad()
-
Abstract method. Subclasses should override this method to setup their view.
Declaration
Swift
open func setupView() -
Abstract method. Subclasses should override this method to add accessibility.
Declaration
Swift
open func setupAccessibility()
View on GitHub
BaseViewController Class Reference