Mercurial > hg > soniczoomios
comparison QuestionnaireViewController.mm @ 44:a1e75b94c505
Snap to eval points. Double tap to go to preset (doesn't quite work yet). Coloured locks. Changed Question 2. Fixed some leaks.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Mon, 22 Apr 2013 18:32:34 +0100 |
parents | b91a1859829a |
children | 0d3a993405e4 |
comparison
equal
deleted
inserted
replaced
43:b91a1859829a | 44:a1e75b94c505 |
---|---|
74 // Dispose of any resources that can be recreated. | 74 // Dispose of any resources that can be recreated. |
75 } | 75 } |
76 //---------------------------------------------------------------- | 76 //---------------------------------------------------------------- |
77 - (void)dealloc { | 77 - (void)dealloc { |
78 | 78 |
79 [_questionText release]; | |
80 [_questionArray release]; | |
81 [_titleText release]; | |
82 [_finishButton release]; | |
83 [_nextButton release]; | |
84 [_previousButton release]; | |
85 [_commentText release]; | |
86 [_numberChooser release]; | |
87 [_interfacePreferenceOptions release]; | |
88 [_lickertOptions release]; | |
89 [_pleaseAnswer release]; | |
90 [super dealloc]; | 79 [super dealloc]; |
91 } | 80 } |
92 //---------------------------------------------------------------- | 81 //---------------------------------------------------------------- |
93 - (void)viewDidUnload { | 82 - (void)viewDidUnload { |
83 [self.questionArray release]; | |
94 [self setQuestionText:nil]; | 84 [self setQuestionText:nil]; |
95 [self setTitleText:nil]; | 85 [self setTitleText:nil]; |
96 [self setFinishButton:nil]; | 86 [self setFinishButton:nil]; |
97 [self setNextButton:nil]; | 87 [self setNextButton:nil]; |
98 [self setPreviousButton:nil]; | 88 [self setPreviousButton:nil]; |
209 //---------------------------------------------------------------- | 199 //---------------------------------------------------------------- |
210 - (void)populateQuestionArray{ | 200 - (void)populateQuestionArray{ |
211 // potential leak | 201 // potential leak |
212 self.questionArray = [NSArray arrayWithObjects: | 202 self.questionArray = [NSArray arrayWithObjects: |
213 [[Question alloc] initWithTextAndType:@"I am familiar with music software and sound synthesis.":AGREE_DISAGREE], | 203 [[Question alloc] initWithTextAndType:@"I am familiar with music software and sound synthesis.":AGREE_DISAGREE], |
214 [[Question alloc] initWithTextAndType:@"The best interface to get a feel for the possibilities of the synth was...":SLIDERS_ZOOMER], | 204 [[Question alloc] initWithTextAndType:@"The ability to retrace my steps using the history path was useful...":AGREE_DISAGREE], |
215 [[Question alloc] initWithTextAndType:@"The best interface for discovering interesting sounds quickly was...":SLIDERS_ZOOMER], | 205 [[Question alloc] initWithTextAndType:@"The best interface for discovering interesting sounds quickly was...":SLIDERS_ZOOMER], |
216 [[Question alloc] initWithTextAndType:@"The best interface for fine tuning a sound was...":SLIDERS_ZOOMER], | 206 [[Question alloc] initWithTextAndType:@"The best interface for fine tuning a sound was...":SLIDERS_ZOOMER], |
217 [[Question alloc] initWithTextAndType:@"The correspondence between the sliders and the grid was understandable.":AGREE_DISAGREE], | 207 [[Question alloc] initWithTextAndType:@"The correspondence between the sliders and the grid was understandable.":AGREE_DISAGREE], |
218 [[Question alloc] initWithTextAndType:@"Scrolling a greater distance on the grid seemed to correspond to larger difference in the sound.":AGREE_DISAGREE], | 208 [[Question alloc] initWithTextAndType:@"Scrolling a greater distance on the grid seemed to correspond to larger difference in the sound.":AGREE_DISAGREE], |
219 [[Question alloc] initWithTextAndType:@"The interface that I felt more in control using was...":SLIDERS_ZOOMER], | 209 [[Question alloc] initWithTextAndType:@"The interface that I felt more in control using was...":SLIDERS_ZOOMER], |
222 [[Question alloc] initWithTextAndType:@"The range of sounds was too limited to be able to judge the eventual usefulness of the interface.":AGREE_DISAGREE], | 212 [[Question alloc] initWithTextAndType:@"The range of sounds was too limited to be able to judge the eventual usefulness of the interface.":AGREE_DISAGREE], |
223 [[Question alloc] initWithTextAndType:@"The interface better for generating new ideas was...":SLIDERS_ZOOMER], | 213 [[Question alloc] initWithTextAndType:@"The interface better for generating new ideas was...":SLIDERS_ZOOMER], |
224 [[Question alloc] initWithTextAndType:@"The interface better for performing live would be...":SLIDERS_ZOOMER], | 214 [[Question alloc] initWithTextAndType:@"The interface better for performing live would be...":SLIDERS_ZOOMER], |
225 [[Question alloc] initWithTextAndType:@"The Zoomer was an improvement on just using a randomiser.":AGREE_DISAGREE], | 215 [[Question alloc] initWithTextAndType:@"The Zoomer was an improvement on just using a randomiser.":AGREE_DISAGREE], |
226 [[Question alloc] initWithTextAndType:@"The combination of Zoomer and Sliders was better than either individually.":AGREE_DISAGREE], | 216 [[Question alloc] initWithTextAndType:@"The combination of Zoomer and Sliders was better than either individually.":AGREE_DISAGREE], |
217 [[Question alloc] initWithTextAndType:@"I enjoy 'happy accidents' in the creative process.":AGREE_DISAGREE], | |
227 [[Question alloc] initWithTextAndType:@"Overall, the interface I preferred using was...":SLIDERS_ZOOMER], // ?????? | 218 [[Question alloc] initWithTextAndType:@"Overall, the interface I preferred using was...":SLIDERS_ZOOMER], // ?????? |
228 nil]; | 219 nil]; |
229 // The zoomer seemed more appropriate to explore the synth sound controls (red) than the note sequence controls (blue) | 220 // The zoomer seemed more appropriate to explore the synth sound controls (red) than the note sequence controls (blue) |
230 // I enjoyed the sounds produced | 221 // I enjoyed the sounds produced |
231 | 222 |