TabBarEmbeddingBuilder
open class TabBarEmbeddingBuilder : ViewControllerBuilder
Builder for UITabBarController instance.
-
Defines how
UITabBarControllershould be created.Declaration
Swift
open var tabBarControllerBuilder: () -> UITabBarController -
Creates
TabBarEmbeddingBuilder.Declaration
Swift
public init(tabBarBuilder: @escaping () -> UITabBarController = { .init() }) -
Builds
UITabBarControllerfrom provided array of views, setting them inviewControllersproperty ofUITabBarController.Declaration
Swift
open func build(with context: [ViewController]) -> UITabBarControllerParameters
contextarray of views to set in
viewControllersproperty.Return Value
created
UITabBarController.
View on GitHub
Install in Dash
TabBarEmbeddingBuilder Class Reference