RSDNavigationController

open class RSDNavigationController : UINavigationController, RSDStepController

RSDNavigationController extends UINavigationController with a pass-through implementation of RSDStepController.

This allows step controllers to be wrapped in a navigation controller for UI implementations that use the features of a navigation controller, while passing control of the step to the step controller.

Note

For applications that customize the navigation controller with their own subclass implementation, this implementation can be copy/pasted and used to extend that custom implementation. This framework does not force using this implementation by extending UINavigationController directly.
  • The root view controller is assumed to be a RSDStepController.

    Declaration

    Swift

    open var rootStepViewController: (UIViewController & RSDStepController)! { get }
  • get/set rootStepViewController.step

    Declaration

    Swift

    public var stepViewModel: RSDStepViewPathComponent! { get set }
  • calls rootStepViewController.didFinishLoading()

    Declaration

    Swift

    public func didFinishLoading()
  • Declaration

    Swift

    public func goForward()
  • Declaration

    Swift

    public func goBack()