RSDUIStep
public protocol RSDUIStep : RSDStep, RSDUIActionHandler
RSDUIStep
is used to define a single display unit
. Depending upon the available real-estate, more
than one ui step may be displayed at a time. For example, on an iPad, you may choose to group a set of
questions using a RSDSectionStep
.
-
The primary text to display for the step in a localized string.
Declaration
Swift
var title: String? { get }
-
Additional text to display for the step in a localized string.
The additional text is often displayed in a smaller font below
title
. If you need to display a long question, it can work well to keep the title short and put the additional content in thetext
property.Declaration
Swift
var text: String? { get }
-
Additional detailed explanation for the step.
The font size and display of this property will depend upon the device type.
Declaration
Swift
var detail: String? { get }
-
Additional text to display for the step in a localized string at the bottom of the view.
The footnote is intended to be displayed in a smaller font at the bottom of the screen. It is intended to be used in order to include disclaimer, copyright, etc. that is important to display in the step but should not distract from the main purpose of the step.
Declaration
Swift
var footnote: String? { get }