NilFinder

public struct NilFinder<VC, C> : Finder, NilEntity where VC : UIViewController

Dummy struct used to represent that nothing should be found in a view controller stack and a UIViewController should always be created from scratch. Its only purpose is to provide type safety checks for StepAssembly.

For example, UIViewController of this step was already loaded and integrated into a stack by a storyboard.

Associated types

  • Declaration

    Swift

    public typealias ViewController = VC
  • Declaration

    Swift

    public typealias Context = C

Methods

  • Constructor

    Declaration

    Swift

    public init()
  • Finder method empty implementation.

    Declaration

    Swift

    public func findViewController(with context: C) throws -> VC?

    Parameters

    context

    A context instance provided.

    Return Value

    always nil.