SCPTextResult

Objective-C


@interface SCPTextResult : SCPCollectInputsResult

Swift

class TextResult : CollectInputsResult

Contains data collected from a Text form

  • Represents the collected text. This value is nil if the form was skipped.

    Declaration

    Objective-C

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

    Swift

    var text: 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;