RSDStepNavigationView
@IBDesignable
open class RSDStepNavigationView : UIView, RSDViewDesignable
RSDStepNavigationView
is a custom UIView
to be included in a RSDStepViewController
.
It optionally contains references to standard step navigation UI including a next button,
back button, skip button, learn more button, and cancel button.
-
Button for navigating to the next step.
Declaration
Swift
@IBOutlet open var nextButton: UIButton?
-
Button for navigating back to the previous step.
Declaration
Swift
@IBOutlet open var backButton: UIButton?
-
Button for skipping the step or task.
Declaration
Swift
@IBOutlet open var skipButton: UIButton?
-
Button for showing learn more info about the step or task.
Declaration
Swift
@IBOutlet open var learnMoreButton: UIButton?
-
Button for reviewing instructions for the task.
Declaration
Swift
@IBOutlet open var reviewInstructionsButton: UIButton?
-
Button for cancelling the task.
Declaration
Swift
@IBOutlet open var cancelButton: UIButton?
-
The label for displaying the title.
Declaration
Swift
@IBOutlet open var titleLabel: UILabel?
-
The label for displaying step text.
Declaration
Swift
@IBOutlet open var textLabel: UILabel?
-
The label for displaying step detail text.
Declaration
Swift
@IBOutlet open var detailLabel: UILabel?
-
The image view for displaying an image.
Declaration
Swift
@IBOutlet open var imageView: UIImageView?
-
Whether or not the view has an image.
Declaration
Swift
open var hasImage: Bool
-
The image to display in the view.
Declaration
Swift
open var image: UIImage? { get set }
-
Return all the buttons in this navigation view.
Declaration
Swift
open func allButtons() -> [UIButton]
-
Should the navigation view show the back button?
Declaration
Swift
@IBInspectable open var isBackHidden: Bool { get set }
-
Should the navigation view show the skip button?
Declaration
Swift
@IBInspectable open var isSkipHidden: Bool { get set }
-
The background color mapping that this view should use as its key.
Declaration
Swift
open private(set) var backgroundColorTile: RSDColorTile? { get }
-
The design system for this component.
Declaration
Swift
open private(set) var designSystem: RSDDesignSystem? { get }
-
Views can be used in nibs and storyboards without setting up a design system for them. This allows for setting up views to use the same design system and background color mapping as their parent view.
Declaration
Swift
open func setDesignSystem(_ designSystem: RSDDesignSystem, with background: RSDColorTile)