Factories
-
The
See moreStepAssemblytransforms aFinderresult as aFactoryresult. It is useful when aUIViewControllerinstance was built inside of the parentContainerFactory. -
The
See moreContainerFactorythat creates aUINavigationControllerinstance.Declaration
Swift
@MainActor public struct NavigationControllerFactory<VC, C> : ContainerFactory where VC : UINavigationController -
The
See moreContainerFactorythat creates aUITabBarControllerinstance.Declaration
Swift
@MainActor public struct TabBarControllerFactory<VC, C> : ContainerFactory where VC : UITabBarController -
The
See moreContainerFactorythat creates aUISplitControllerinstance.Declaration
Swift
@MainActor public struct SplitControllerFactory<VC, C> : ContainerFactory where VC : UISplitViewController -
The dummy struct used to represent the
Factorythat does not build anything. Its only purpose is to provide the type safety checks for theStepAssembly.For example, the
See moreUIViewControllerof the step was already loaded and integrated into a stack by a storyboard in a previous step. -
Builds
See moreUIHostingControllerwithContentViewas aUIHostingController.rootViewusing the provided block.Declaration
Swift
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) @MainActor public struct UIHostingControllerFactory<ContentView, Context> : Factory where ContentView : View -
Builds
See moreUIHostingControllerwithContentViewas aUIHostingController.rootViewusing the constructor provided withContextInstantiatableimplementation.Declaration
Swift
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) @MainActor public struct UIHostingControllerWithContextFactory<ContentView> : Factory where ContentView : ContextInstantiatable
Factories Reference