RSDNavigationHeaderView

open class RSDNavigationHeaderView: RSDStepNavigationView

RSDNavigationHeaderView is a general purpose navigation header view that can be used by the step view controller to include UI elements that may typically be shown at the top of the step view.

  • A progress view for showing step progress.

    Declaration

    Swift

    @IBOutlet open var progressView: RSDStepProgressView?
  • A label used to display the number of steps. For example, Step 2 out of 5.

    Declaration

    Swift

    @IBOutlet open var stepCountLabel: UILabel?
  • Causes the progress view to be shown or hidden. Default is true.

    Declaration

    Swift

    @IBInspectable open var shouldShowCloseButton = true
  • Causes the progress view to be shown or hidden. Default is true.

    Declaration

    Swift

    @IBInspectable open var shouldShowProgress = true
  • Should the step label be hidden?

    Declaration

    Swift

    @IBInspectable open var isStepLabelHidden: Bool = false
  • Layout constants. Subclasses can override to customize; otherwise the default private constants are used.

    Declaration

    Swift

    open private(set) var constants: RSDNavigationHeaderLayoutConstants = DefaultNavigationHeaderLayoutConstants()
  • Convenience method for adding a close button if needed.

    Declaration

    Swift

    open func addCloseButtonIfNeeded()
  • Convenience method for adding a progress view if needed.

    Declaration

    Swift

    open func addProgressViewIfNeeded()