SplitControllerFactory
public struct SplitControllerFactory<VC, C> : ContainerFactory where VC : UISplitViewController
The ContainerFactory
that creates a UISplitController
instance.
-
Declaration
Swift
public typealias ViewController = VC
-
Declaration
Swift
public typealias Context = C
-
A Xib file name
Declaration
Swift
public let nibName: String?
-
A
Bundle
instanceDeclaration
Swift
public let bundle: Bundle?
-
UISplitViewControllerDelegate
referenceDeclaration
Swift
public private(set) weak var delegate: UISplitViewControllerDelegate? { get }
-
If ‘true’, hidden view can be presented and dismissed via a swipe gesture. Defaults to ‘true’.
Declaration
Swift
public let presentsWithGesture: Bool?
-
A property that controls how the primary view controller is hidden and displayed. A value of
.automatic
specifies the default behavior split view controller, which on an iPad, corresponds to an overlay mode in portrait and a side-by-side mode in landscape.Declaration
Swift
public let preferredDisplayMode: UISplitViewController.DisplayMode?
-
The additional configuration block
Declaration
Swift
public let configuration: ((VC) -> Void)?
-
Constructor
-
Declaration
Swift
public func build(with context: C, integrating coordinator: ChildCoordinator) throws -> VC