RSDStepType

public struct RSDStepType : RawRepresentable, Codable

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 private(set) var rawValue: String
  • Declaration

    Swift

    public init(rawValue: String)
  • Defaults to creating a RSDActiveUIStep.

    Declaration

    Swift

    public static let active: RSDStepType = "active"
  • Defaults to creating a RSDUIStep used to mark task completion.

    Declaration

    Swift

    public static let completion: RSDStepType = "completion"
  • Defaults to creating a RSDActiveUIStep used as a countdown to an active step.

    Declaration

    Swift

    public static let countdown: RSDStepType = "countdown"
  • Defaults to creating a RSDFormUIStep.

    Declaration

    Swift

    public static let form: RSDStepType = "form"
  • Defaults to creating a RSDUIStep.

    Declaration

    Swift

    public static let instruction: RSDStepType = "instruction"
  • Defaults to creating a RSDSectionStep.

    Declaration

    Swift

    public static let section: RSDStepType = "section"
  • Defaults to creating a RSDSectionStep created using a RSDTransformerStep.

    Declaration

    Swift

    public static let transform: RSDStepType = "transform"
  • Defaults to creating a RSDTaskInfoStep.

    Declaration

    Swift

    public static let taskInfo: RSDStepType = "taskInfo"
  • List of all the standard types.

    Declaration

    Swift

    public static func allStandardTypes() -> [RSDStepType]
  • Declaration

    Swift

    public static func ==(lhs: RSDStepType, rhs: RSDStepType) -> Bool
  • Undocumented

    Declaration

    Swift

    public static func ==(lhs: String, rhs: RSDStepType) -> Bool
  • Undocumented

    Declaration

    Swift

    public static func ==(lhs: RSDStepType, rhs: String) -> Bool
  • Declaration

    Swift

    public var hashValue : Int