BRSurvey
Represents a survey consisting of a series of multiple-choice or open-ended questions.
Declaration
@interface BRSurvey : NSObject
class BRSurvey : NSObject
Quick Reference
Properties
| Property | Description |
|---|---|
slug | Identifier for this survey. |
startDate | Survey start date, or nil if no start date. |
endDate | Survey end date, or nil if no end date. |
rewardValue | Reward value for participating in survey. |
questions | Array of questions contained in this survey. |
Properties
slug (read-only)
@property (nonatomic, strong, readonly, nonnull) NSString *slug;
var slug: String { get }
Identifier for this survey.
startDate (read-only)
@property (nonatomic, strong, readonly, nullable) NSDate *startDate;
var startDate: Date? { get }
Survey start date, or nil if no start date.
endDate (read-only)
@property (nonatomic, strong, readonly, nullable) NSDate *endDate;
var endDate: Date? { get }
Survey end date, or nil if no end date.
rewardValue (read-only)
@property (nonatomic, readonly) float rewardValue;
var rewardValue: Float { get }
Reward value for participating in survey.
questions (read-only)
@property (nonatomic, strong, readonly, nonnull) NSArray<BRSurveyQuestion *> *questions;
var questions: [BRSurveyQuestion] { get }
Array of questions contained in this survey.