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

Question Responses

Properties

answers

Array of SMAnswerResponse objects representing the respondent’s answer to this question

@property (nonatomic, strong) NSArray *answers

Declared In

SMQuestionResponse.h

pageID

ID of page where this question is located

@property (nonatomic, strong) NSString *pageID

Declared In

SMQuestionResponse.h

pageIndex

Index of page where this question is located (starting at 0)

@property (nonatomic, assign) NSUInteger pageIndex

Declared In

SMQuestionResponse.h

questionID

ID of question that was answered

@property (nonatomic, strong) NSString *questionID

Declared In

SMQuestionResponse.h

questionPageIndex

Index of question within its page (starting at 0)

@property (nonatomic, assign) NSUInteger questionPageIndex

Declared In

SMQuestionResponse.h

questionSurveyIndex

Global index of question in survey

@property (nonatomic, assign) NSUInteger questionSurveyIndex

Declared In

SMQuestionResponse.h

questionValue

Question Prompt - for example “How old are you”

@property (nonatomic, strong) NSString *questionValue

Declared In

SMQuestionResponse.h