SCPSelectionResult

Objective-C


@interface SCPSelectionResult : SCPCollectInputsResult

Swift

class SelectionResult : CollectInputsResult

Contains data collected from a Selection form

  • Represents the selected button. This value is nil if the form was skipped.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *selection;

    Swift

    var selection: String? { get }
  • Represents the collected toggles, a list of SCPToggleResult. The value is SCPToggleResultSkipped if a form is skipped.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSArray<NSNumber *> *_Nonnull toggles;

    Swift

    var toggles: [NSNumber] { get }
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    + (nonnull instancetype)new;