SplitControllerFactory

public struct SplitControllerFactory<VC, C> : ContainerFactory where VC : UISplitViewController

The ContainerFactory that creates a UISplitController instance.

Associated types

  • Declaration

    Swift

    public typealias ViewController = VC
  • Declaration

    Swift

    public typealias Context = C

Properties

  • A Xib file name

    Declaration

    Swift

    public let nibName: String?
  • A Bundle instance

    Declaration

    Swift

    public let bundle: Bundle?
  • UISplitViewControllerDelegate reference

    Declaration

    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)?

Methods