SMQuestionResponse Class Reference
| Inherits from | NSObject |
| Conforms to | SMJSONSerializableProtocol |
| Declared in | SMQuestionResponse.h SMQuestionResponse.m |
Overview
The SMQuestionResponse object represents a complete response to a given survey question
The SMQuestionResponse object includes relevant question attributes as well as an array of SMAnswerResponse objects representing representing the respondent’s answer(s) to this question.
Tasks
Question Attributes
-
pageIDproperty -
pageIndexproperty -
questionIDproperty -
questionSurveyIndexproperty -
questionPageIndexproperty -
questionValueproperty
Question Responses
-
answersproperty
Properties
answers
Array of SMAnswerResponse objects representing the respondent’s answer to this question
@property (nonatomic, strong) NSArray *answersDeclared In
SMQuestionResponse.hpageID
ID of page where this question is located
@property (nonatomic, strong) NSString *pageIDDeclared In
SMQuestionResponse.hpageIndex
Index of page where this question is located (starting at 0)
@property (nonatomic, assign) NSUInteger pageIndexDeclared In
SMQuestionResponse.hquestionID
ID of question that was answered
@property (nonatomic, strong) NSString *questionIDDeclared In
SMQuestionResponse.hquestionPageIndex
Index of question within its page (starting at 0)
@property (nonatomic, assign) NSUInteger questionPageIndexDeclared In
SMQuestionResponse.h