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 extendingUINavigationController
directly.
-
The root view controller is assumed to be a
RSDStepController
.Declaration
Swift
open var rootStepViewController : (UIViewController & RSDStepController)!
-
get/set
rootStepViewController.taskController
Declaration
Swift
public var taskController: RSDTaskController!
-
get/set
rootStepViewController.step
Declaration
Swift
public var step: RSDStep!
-
calls
rootStepViewController.didFinishLoading()
Declaration
Swift
public func didFinishLoading()
-
calls
rootStepViewController.isForwardEnabled
Declaration
Swift
public var isForwardEnabled: Bool
-
calls
rootStepViewController.goForward()
Declaration
Swift
public func goForward()
-
calls
rootStepViewController.goBack()
Declaration
Swift
public func goBack()
-
calls
rootStepViewController.skipForward()
Declaration
Swift
public func skipForward()
-
calls
rootStepViewController.cancel()
Declaration
Swift
public func cancel()