RSDNavigationHeaderView

@IBDesignable
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? { get set }
  • A label used to display the number of steps. For example, Step 2 out of 5.

    Declaration

    Swift

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

    Declaration

    Swift

    @IBInspectable
    open var shouldShowCloseButton: Bool { get set }
  • Causes the progress view to be shown or hidden. Default is true.

    Declaration

    Swift

    @IBInspectable
    open var shouldShowProgress: Bool { get set }
  • Should the step label be hidden?

    Declaration

    Swift

    @IBInspectable
    open var isStepLabelHidden: Bool { get set }
  • Layout constants. Subclasses can override to customize; otherwise the default private constants are used.

    Declaration

    Swift

    open private(set) var constants: RSDNavigationHeaderLayoutConstants {
      get
      }
  • 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()