RSDChoiceOptionsObject
public struct RSDChoiceOptionsObject : RSDChoiceOptions
A simple struct that can be used to implement the RSDChoiceOptions
protocol.
-
A list of choices for the input field.
Declaration
Swift
public let choices: [RSDChoice]
-
A Boolean value indicating whether the user can skip the input field without providing an answer.
Declaration
Swift
public let isOptional: Bool
-
Default initializer. Auto-synthesized init is not public.
Declaration
Swift
public init(choices: [RSDChoice], isOptional: Bool)