SCPSelectionInputBuilder
Objective-C
@interface SCPSelectionInputBuilder : SCPBuilder <SCPSelectionInput *>
Swift
class SelectionInputBuilder : SCPBuilder<SelectionInput>
Builder class for SCPSelectionInput
.
-
Initializes a new instance of the
SCPSelectionInputBuilder
class with the provided title.Declaration
Objective-C
- (nonnull instancetype)initWithTitle:(nonnull NSString *)title;
Swift
init(title: String)
-
Declaration
Objective-C
- (nonnull SCPSelectionInputBuilder *)setTitle:(nonnull NSString *)title;
Swift
func setTitle(_ title: String) -> SelectionInputBuilder
-
See
SCPSelectionInput.required
Declaration
Objective-C
- (nonnull SCPSelectionInputBuilder *)setRequired:(BOOL)required;
Swift
func setRequired(_ required: Bool) -> SelectionInputBuilder
-
Declaration
Objective-C
- (nonnull SCPSelectionInputBuilder *)setStripeDescription: (nonnull NSString *)stripeDescription;
Swift
func setStripeDescription(_ stripeDescription: String) -> SelectionInputBuilder
-
See
SCPSelectionInput.skipButton
Declaration
Objective-C
- (nonnull SCPSelectionInputBuilder *)setSkipButtonText: (nonnull NSString *)skipButtonText;
Swift
func setSkipButtonText(_ skipButtonText: String) -> SelectionInputBuilder
-
Declaration
Objective-C
- (nonnull SCPSelectionInputBuilder *)setSelectionButtons: (nonnull NSArray<SCPSelectionButton *> *)selectionButton;
Swift
func setSelectionButtons(_ selectionButton: [SelectionButton]) -> SelectionInputBuilder
-
Declaration
Objective-C
- (nonnull SCPSelectionInputBuilder *)setToggles: (nonnull NSArray<SCPToggle *> *)toggles;
Swift
func setToggles(_ toggles: [Toggle]) -> SelectionInputBuilder
-
Unavailable
Use
initWithTitle
.Declaration
Objective-C
- (nonnull instancetype)init;
-
Unavailable
Use
initWithTitle
.Declaration
Objective-C
+ (nonnull instancetype)new;