NonBuilder
open class NonBuilder : ViewControllerBuilder
Builder, that is incapable of building a view and asserts when asked to do so. Can be used for transitions, that hide currently visible view and do not require a new view to be built. For example - PopNavigationTransition
, or DismissTransition
.
-
Creates
NonBuilder
instanceDeclaration
Swift
public init()
-
This method is not expected to be called and asserts on attempt to call it.
Declaration
Swift
open func build(with context: ()) -> NonBuildableView
Parameters
context
empty tuple,
NonBuilder
does not require aContext
.Return Value
NonBuildableView
instance