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

Response Data

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 completionStatus

Declared In

SMRespondent.h

dateModified

Date respondent last updated their response

@property (nonatomic, strong) NSDate *dateModified

Declared In

SMRespondent.h

dateStarted

Date on which respondent started survey (when respondent was created)

@property (nonatomic, strong) NSDate *dateStarted

Declared In

SMRespondent.h

questionResponses

Array of SMQuestionResponse objects representing this respondent’s response to the survey

@property (nonatomic, strong) NSArray *questionResponses

Declared In

SMRespondent.h

respondentID

ID for respondent

@property (nonatomic, strong) NSString *respondentID

Declared In

SMRespondent.h