BRSurvey

Objective-C

@interface BRSurvey : NSObject

Swift

class BRSurvey : NSObject

Represents a survey consisting of a series of multiple choice or open ended questions

Properties

  • Identifier for this survey

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull slug;

    Swift

    var slug: String { get }
  • Survey start date, or nil if no start date

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSDate *startDate;

    Swift

    var startDate: Date? { get }
  • Survey end date, or nil if no end date

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSDate *endDate;

    Swift

    var endDate: Date? { get }
  • Reward value for participating in survey

    Declaration

    Objective-C

    @property (nonatomic, readonly) float rewardValue;

    Swift

    var rewardValue: Float { get }
  • Array of questions contained in this survey

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<BRSurveyQuestion *> *_Nonnull questions;

    Swift

    var questions: [BRSurveyQuestion] { get }