AddTabAction

public struct AddTabAction<ViewController> : ContainerAction where ViewController : UITabBarController

Integrates a UIViewController in to a UITabBarController

Properties

  • The index of the tab after which one a view controller should be added.

    Declaration

    Swift

    public let tabIndex: Int?
  • The flag that tab should be replaced instead.

    Declaration

    Swift

    public let replacing: Bool

Methods

  • Declaration

    Swift

    public func perform(embedding viewController: UIViewController,
                        in childViewControllers: inout [UIViewController])
  • Declaration

    Swift

    public func perform(with viewController: UIViewController,
                        on tabBarController: ViewController,
                        animated: Bool,
                        completion: @escaping (_: RoutingResult) -> Void)