RSDScrollingOverviewStepViewController

open class RSDScrollingOverviewStepViewController : RSDOverviewStepViewController

The scrolling overview step view controller is a custom subclass of the overview step view controller that uses a scrollview to allow showing detailed overview instructions.

  • The label which tells the user about the icons. Typically displays This is what you’ll need.

    Declaration

    Swift

    @IBOutlet
    open weak var iconViewLabel: UILabel!
  • The constraint that sets the scroll bar’s top background view’s height.

    Declaration

    Swift

    @IBOutlet
    open weak var scrollViewBackgroundHeightConstraint: NSLayoutConstraint!
  • The image views to display the icons on.

    Declaration

    Swift

    @IBOutlet
    open var iconImages: [UIImageView]!
  • The labels to display the titles of the icons on.

    Declaration

    Swift

    @IBOutlet
    open var iconTitles: [UILabel]!
  • The button that when pressed displays the full task info.

    Declaration

    Swift

    @IBOutlet
    open var infoButton: UIButton!
  • The scroll view that contains the elements which scroll.

    Declaration

    Swift

    @IBOutlet
    open var scrollView: UIScrollView!
  • Overrides viewWillAppear to add an info button, display the icons, to save the current Date to UserDefaults, and to use the saved date to decide whether or not to show the full task info or an abbreviated screen.

    Declaration

    Swift

    override open func viewWillAppear(_ animated: Bool)
  • Sets the height of the scroll views top background view depending on the image placement type from this step.

    Declaration

    Swift

    open func updateImagePlacementConstraints()
  • Declaration

    Swift

    override open func setColorStyle(for placement: RSDColorPlacement, background: RSDColorTile)
  • Function called when the upper-right info icon action button is tapped

    Declaration

    Swift

    @objc
    open func showFullTaskInfo()
  • The default nib name to use when instantiating the view controller using init(step:).

    Declaration

    Swift

    override open class var nibName: String { get }
  • The default bundle to use when instantiating the view controller using init(step:).

    Declaration

    Swift

    override open class var bundle: Bundle { get }