SMRespondent Class Reference
| Inherits from | NSObject |
| Conforms to | SMJSONSerializableProtocol |
| Declared in | SMRespondent.h SMRespondent.m |
Overview
The SMRespondent object represents a single survey respondent and is returned when a user successfully ends a survey.
The SMRespondent object includes relevant metadata, e.g. survey completion status, as well as an array of SMQuestionResponse objects representing that respondent’s response to the given survey.
Tasks
Response Attributes
-
completionStatusproperty -
dateModifiedproperty -
dateStartedproperty -
respondentIDproperty
Response Data
-
questionResponsesproperty
Properties
completionStatus
Denotes whether respondent has gone through all pages. If they’ve only gone through a subset of pages, completionStatus will be SMCompletionStatusPartiallyComplete
@property (nonatomic, assign) SMCompletionStatus completionStatusDeclared In
SMRespondent.hdateModified
Date respondent last updated their response
@property (nonatomic, strong) NSDate *dateModifiedDeclared In
SMRespondent.hdateStarted
Date on which respondent started survey (when respondent was created)
@property (nonatomic, strong) NSDate *dateStartedDeclared In
SMRespondent.hquestionResponses
Array of SMQuestionResponse objects representing this respondent’s response to the survey
@property (nonatomic, strong) NSArray *questionResponsesDeclared In
SMRespondent.h