RSDStepType
public struct RSDStepType : RSDFactoryTypeRepresentable, Codable, Hashable
The type of the step. This is used to decode the step using a RSDFactory
. It can also be used to customize
the UI.
-
Declaration
Swift
public let rawValue: String
-
Declaration
Swift
public init(rawValue: String)
-
Defaults to creating a
RSDActiveUIStepObject
.Declaration
Swift
public static let active: RSDStepType
-
Defaults to creating a
RSDResultSummaryStepObject
used to mark task completion.Declaration
Swift
public static let completion: RSDStepType
-
Defaults to creating a
RSDActiveUIStepObject
used as a countdown to an active step.Declaration
Swift
public static let countdown: RSDStepType
-
Defaults to creating a
RSDFormUIStep
used to show demographics info if not already included.Declaration
Swift
public static let demographics: RSDStepType
-
Defaults to creating a
RSDResultSummaryStepObject
used show the user results.Declaration
Swift
public static let feedback: RSDStepType
-
Defaults to creating a
RSDFormUIStep
.Declaration
Swift
public static let form: RSDStepType
-
Defaults to creating a
RSDImagePickerStep
.Declaration
Swift
public static let imagePicker: RSDStepType
-
Defaults to creating a
RSDActiveUIStep
.Declaration
Swift
public static let instruction: RSDStepType
-
Defaults to creating a
RSDOverviewStepObject
.Declaration
Swift
public static let overview: RSDStepType
-
Defaults to creating a
RSDSectionStep
.Declaration
Swift
public static let section: RSDStepType
-
Defaults to creating a
RSDSectionStep
created using aRSDTransformerStep
.Declaration
Swift
public static let transform: RSDStepType
-
Defaults to creating a
RSDTaskInfoStep
.Declaration
Swift
public static let taskInfo: RSDStepType
-
Defaults to creating a
RSDSubtaskStep
.Declaration
Swift
public static let subtask: RSDStepType
-
List of all the standard types.
Declaration
Swift
public static func allStandardTypes() -> [RSDStepType]
-
Declaration
Swift
public init(stringLiteral value: String)