ScrollStackViewController

open class ScrollStackViewController : UIViewController

UIViewController that allows loading, stacking and removing different ViewControllers in a single view.

Lifecycle methods

  • This override sets the NavigationBar to be shown in the view, and shows no Buttons on the right side it.

    Declaration

    Swift

    open override func viewDidLoad()
  • Method for loading the view sections into the parent view.

    Override this method and use the add(_:) functions to load UIViews and UIViewControllers with their corresponding views.

    Declaration

    Swift

    open func addChildrenViewControllers()

view configuration methods

  • Loads and displays a UIViewController (and it’s corresponding view) into the current ViewController.

    Declaration

    Swift

    open func add(_ child: UIViewController)
  • Loads and displays a UIView into the current ViewController.

    Declaration

    Swift

    open func add(_ child: UIView)
  • Removes a UIViewController’s view from the current ViewController.

    Declaration

    Swift

    open func remove(_ child: UIViewController)