BRSurveyResponse

Objective-C

@interface BRSurveyResponse : NSObject

Swift

class BRSurveyResponse : NSObject

Represents a user response to a survey question

Properties

  • If the survey question is multiple choice, this array contains the indexes of the answer(s) the user selected

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSNumber *> *_Nonnull answersSelected;

    Swift

    var answersSelected: [NSNumber] { get set }
  • If the survey question is open ended, this is the text the user entered in response

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull freeText;

    Swift

    var freeText: String { get set }