ContainerAction
@MainActor
public protocol ContainerAction : AbstractAction where Self.ViewController : ContainerViewController
Represents an action to be used by a ContainerFactory to build it’s children view controller stack
-
perform(embedding:Default implementationin: ) If current
UIViewControllerhas to be pushed/added/etc to the existing stack of the view controllers, this method should be called instead.Default Implementation
Declaration
Swift
@MainActor func perform(embedding viewController: UIViewController, in childViewControllers: inout [UIViewController]) throwsParameters
viewControllerThe
UIViewControllerto be embedded.childViewControllersThe stack of the
UIViewControllers in the current container.