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
taskViewModelThe current task path to use to instantiate the view controller
Return Value
The instantiated view controller or
nilif there isn’t one.
View on GitHub
RSDStepViewControllerVendor Protocol Reference