comparison Question.m @ 27:ae4d2c3ce5e0

Details. Zoom trailing finger move sorted. Qs rephrased.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Wed, 13 Feb 2013 17:03:56 +0000
parents a4908ad8c78e
children fabb3a5cdfc9
comparison
equal deleted inserted replaced
26:2e1fdac115af 27:ae4d2c3ce5e0
40 40
41 +(NSArray *)answersWithType:(QuestionType)type{ 41 +(NSArray *)answersWithType:(QuestionType)type{
42 // get the set of answers depending on what type the q was 42 // get the set of answers depending on what type the q was
43 // pseudo static variable 43 // pseudo static variable
44 if(type == AGREE_DISAGREE){ 44 if(type == AGREE_DISAGREE){
45 [Question setCount:6]; 45 [Question setCount:NUM_CHOICES];
46 return [[NSArray alloc] initWithObjects: 46 return [[NSArray alloc] initWithObjects:
47 @" ", @"Strongly disagree", @"Disagree", @"Neither", 47 @"Strongly agree",@"Agree", @"Neither agree nor disagree",
48 @"Agree", @"Strongly agree", nil]; 48 @"Disagree",@"Strongly disagree", nil];
49 49
50 50
51 }else if(type == SLIDERS_ZOOMER){ 51 }else if(type == SLIDERS_ZOOMER){
52 [Question setCount:6]; 52 [Question setCount:NUM_CHOICES];
53 return [[NSArray alloc] initWithObjects: 53 return [[NSArray alloc] initWithObjects:
54 @" ", @"Definitely Sliders", @"Maybe Sliders", @"Neither", 54 @"definitely the Sliders", @"maybe the Sliders", @"neither",
55 @"Maybe Zoomer", @"Definitely Zoomer", nil]; 55 @"maybe the Zoomer", @"definitely the Zoomer", nil];
56 }else{ 56 }else{
57 return nil; 57 return nil;
58 } 58 }
59 } 59 }
60 /// 60 ///