RSDStepViewControllerVendor
public protocol RSDStepViewControllerVendor : RSDUIStep
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 taskPath: RSDTaskPath) -> (UIViewController & RSDStepController)?
Parameters
taskPath
The current task path to use to instantiate the view controller
Return Value
The instantiated view controller or
nil
if there isn’t one.