comparison QuestionnaireViewController.mm @ 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 dae6d77657a0
children e2c62db1e265
comparison
equal deleted inserted replaced
26:2e1fdac115af 27:ae4d2c3ce5e0
164 // refresh picker view content 164 // refresh picker view content
165 [picker reloadComponent:0]; 165 [picker reloadComponent:0];
166 166
167 167
168 NSLog(@"Prev answer answerInt %d", curQ.answer); 168 NSLog(@"Prev answer answerInt %d", curQ.answer);
169 [picker selectRow:curQ.answer inComponent:0 animated:YES]; 169 [picker selectRow:2 inComponent:0 animated:YES];
170 170
171 } 171 }
172 //---------------------------------------------------------------- 172 //----------------------------------------------------------------
173 - (void)populateQuestionArray{ 173 - (void)populateQuestionArray{
174 174
175 self.questionArray = [NSArray arrayWithObjects: 175 self.questionArray = [NSArray arrayWithObjects:
176 [[Question alloc] initWithTextAndType:@"I am familiar with music software and sound synthesis.":AGREE_DISAGREE], 176 [[Question alloc] initWithTextAndType:@"I am familiar with music software and sound synthesis.":AGREE_DISAGREE],
177 [[Question alloc] initWithTextAndType:@"The best way to get a feel for the possibilities of the synth was with:":SLIDERS_ZOOMER], 177 [[Question alloc] initWithTextAndType:@"The best interface to get a feel for the possibilities of the synth was...":SLIDERS_ZOOMER],
178 [[Question alloc] initWithTextAndType:@"Interesting sounds could be discovered more quickly as a result of using:":SLIDERS_ZOOMER], 178 [[Question alloc] initWithTextAndType:@"The best interface for discovering interesting sounds quickly was...":SLIDERS_ZOOMER],
179 [[Question alloc] initWithTextAndType:@"A sound could be fine tuned more easily using:":SLIDERS_ZOOMER], 179 [[Question alloc] initWithTextAndType:@"The best interface for fine tuning a sound was...":SLIDERS_ZOOMER],
180 [[Question alloc] initWithTextAndType:@"The correspondence between the sliders and the grid was understandable.":AGREE_DISAGREE], 180 [[Question alloc] initWithTextAndType:@"The correspondence between the sliders and the grid was understandable.":AGREE_DISAGREE],
181 [[Question alloc] initWithTextAndType:@"The interface that felt more familiar was:":SLIDERS_ZOOMER], 181 [[Question alloc] initWithTextAndType:@"The interface that felt more familiar was:":SLIDERS_ZOOMER],
182 [[Question alloc] initWithTextAndType:@"Scrolling a greater distance on the grid seemed to correspond to larger difference in the sound.":AGREE_DISAGREE], 182 [[Question alloc] initWithTextAndType:@"Scrolling a greater distance on the grid seemed to correspond to larger difference in the sound.":AGREE_DISAGREE],
183 [[Question alloc] initWithTextAndType:@"The ability to see other presets on the grid was useful.":AGREE_DISAGREE], 183 [[Question alloc] initWithTextAndType:@"The interface that I felt more in control using was...":SLIDERS_ZOOMER],
184 [[Question alloc] initWithTextAndType:@"The range of sounds was too limited to be able to judge the eventual usefulness of the interface.":AGREE_DISAGREE], 184 [[Question alloc] initWithTextAndType:@"The ability to see other presets laid on the grid was useful.":AGREE_DISAGREE], // ????????
185 [[Question alloc] initWithTextAndType:@"The interface better for generating new ideas was":SLIDERS_ZOOMER], 185 [[Question alloc] initWithTextAndType:@"The interface that felt more creative was...":SLIDERS_ZOOMER],
186 [[Question alloc] initWithTextAndType:@"The interface better for live performance would be:":SLIDERS_ZOOMER], 186 [[Question alloc] initWithTextAndType:@"The range of sounds was too limited/poor quality to be able to judge the eventual usefulness of the interface.":AGREE_DISAGREE],
187 [[Question alloc] initWithTextAndType:@"A specific type of sound could be found more quickly using:":SLIDERS_ZOOMER], 187 [[Question alloc] initWithTextAndType:@"The interface better for generating new ideas was...":SLIDERS_ZOOMER],
188 [[Question alloc] initWithTextAndType:@"I felt more in control when using:":SLIDERS_ZOOMER], 188 [[Question alloc] initWithTextAndType:@"The interface better for performing live would be...":SLIDERS_ZOOMER],
189 [[Question alloc] initWithTextAndType:@"I felt more creative when using:":SLIDERS_ZOOMER],
190 [[Question alloc] initWithTextAndType:@"The Zoomer was an improvement on just using a randomiser.":AGREE_DISAGREE], 189 [[Question alloc] initWithTextAndType:@"The Zoomer was an improvement on just using a randomiser.":AGREE_DISAGREE],
190 [[Question alloc] initWithTextAndType:@"The interface better for creating a specific sound I had in mind would be...":SLIDERS_ZOOMER], // not instructed ?????
191
191 [[Question alloc] initWithTextAndType:@"The combination of Zoomer and Sliders was better than either individually.":AGREE_DISAGREE], 192 [[Question alloc] initWithTextAndType:@"The combination of Zoomer and Sliders was better than either individually.":AGREE_DISAGREE],
192 [[Question alloc] initWithTextAndType:@"Overall, I preferred using:":SLIDERS_ZOOMER], 193 [[Question alloc] initWithTextAndType:@"Overall, the interface I preferred using was...":SLIDERS_ZOOMER], // ??????
193 nil]; 194 nil];
194 195
195 } 196 }
196 197
197 //---------------------------------------------------------------- 198 //----------------------------------------------------------------
205 } 206 }
206 //---------------------------------------------------------------- 207 //----------------------------------------------------------------
207 - (NSInteger)pickerView:(UIPickerView *)pickerView 208 - (NSInteger)pickerView:(UIPickerView *)pickerView
208 numberOfRowsInComponent:(NSInteger)component 209 numberOfRowsInComponent:(NSInteger)component
209 { 210 {
210 return 6; // always 6 211
212 return NUM_CHOICES; // always 6
211 } 213 }
212 //---------------------------------------------------------------- 214 //----------------------------------------------------------------
213 - (NSString *)pickerView:(UIPickerView *)pickerView 215 - (NSString *)pickerView:(UIPickerView *)pickerView
214 titleForRow:(NSInteger)row 216 titleForRow:(NSInteger)row
215 forComponent:(NSInteger)component 217 forComponent:(NSInteger)component