SMAnswerResponse Class Reference
| Inherits from | NSObject |
| Conforms to | SMJSONSerializableProtocol |
| Declared in | SMAnswerResponse.h SMAnswerResponse.m |
Overview
The SMAnswerResponse object represents a single answer to a survey question. A single survey question can have multiple SMAnswerResponse objects associated with it.
Tasks
Text Response Answer Attribute
-
textResponseproperty
Default Answer Attributes
Matrix and Rating Answer Attributes
-
columnIDproperty -
columnIndexproperty -
columnValueproperty
Matrix-of-Dropdown Answer Attributes
-
columnDropdownIDproperty -
columnDropdownIndexproperty -
columnDropdownValueproperty
Properties
columnDropdownID
ID of choice in a column’s dropdown
@property (nonatomic, strong) NSString *columnDropdownIDDeclared In
SMAnswerResponse.hcolumnDropdownIndex
Index of choice in a column’s dropdown
@property (nonatomic, assign) NSUInteger columnDropdownIndexDeclared In
SMAnswerResponse.hcolumnDropdownValue
User-facing text representing this column’s dropdown in the survey
@property (nonatomic, strong) NSString *columnDropdownValueDeclared In
SMAnswerResponse.hcolumnID
ID of column answered
@property (nonatomic, strong) NSString *columnIDDeclared In
SMAnswerResponse.hcolumnIndex
Index of column in question’s design (going left to right)
@property (nonatomic, assign) NSUInteger columnIndexDeclared In
SMAnswerResponse.hcolumnValue
User-facing text representing this column in the survey
@property (nonatomic, strong) NSString *columnValueDeclared In
SMAnswerResponse.hrowID
ID of row answered
@property (nonatomic, strong) NSString *rowIDDeclared In
SMAnswerResponse.hrowIndex
Index of row in question’s design
@property (nonatomic, assign) NSUInteger rowIndexDeclared In
SMAnswerResponse.h