RSDSkipToUIActionObject
public struct RSDSkipToUIActionObject : RSDEmbeddedResourceUIAction, RSDSkipToUIAction
RSDSkipToUIActionObject
implements an action that includes an identifier for a step to skip to if this
action is called. This is used by the RSDConditionalStepNavigator
to navigate based on a nil
result.
Seealso
RSDSurveyNavigationStep
-
The identifier for the step to skip to if the action is called.
Declaration
Swift
public let skipToIdentifier: String
-
The title to display on the button associated with this action.
Declaration
Swift
public var buttonTitle: String?
-
The name of the icon to display on the button associated with this action.
Declaration
Swift
public var iconName: String?
-
The bundle identifier for the resource bundle that contains the image.
Declaration
Swift
public var bundleIdentifier: String?
-
Default initializer for a button with text.
Declaration
Swift
public init(skipToIdentifier: String, buttonTitle: String)
Parameters
skipToIdentifier
The identifier for the step to skip to if the action is called.
buttonTitle
The title to display on the button associated with this action.
-
Default initializer for a button with an image.
Declaration
Swift
public init(skipToIdentifier: String, iconName: String, bundleIdentifier: String? = nil)
Parameters
skipToIdentifier
The identifier for the step to skip to if the action is called.
iconName
The name of the image to display on the button.
bundleIdentifier
The bundle identifier for the resource bundle that contains the image.