RSDStepViewControllerVendor

public protocol RSDStepViewControllerVendor : RSDStep

Optional protocol that can be used to get the step view controller from the step rather than from the task view controller or delegate.

  • Returns the view controller vended by the step.

    Declaration

    Swift

    func instantiateViewController(with parent: RSDPathComponent?) -> (UIViewController & RSDStepController)?

    Parameters

    taskViewModel

    The current task path to use to instantiate the view controller

    Return Value

    The instantiated view controller or nil if there isn’t one.