comparison QuestionnaireViewController.mm @ 27:27cdf475aa4b

more fiddling
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Wed, 29 Oct 2014 15:38:38 +0000
parents a223551fdc1f
children
comparison
equal deleted inserted replaced
26:8d7ae43b2edd 27:27cdf475aa4b
16 @interface QuestionnaireViewController () 16 @interface QuestionnaireViewController ()
17 // the "model" is an array of questions 17 // the "model" is an array of questions
18 @property (strong, nonatomic) NSArray * questionArray; 18 @property (strong, nonatomic) NSArray * questionArray;
19 @property (nonatomic) NSInteger currentQuestionIndex; 19 @property (nonatomic) NSInteger currentQuestionIndex;
20 @property (nonatomic, assign) id theOFAppRef; 20 @property (nonatomic, assign) id theOFAppRef;
21 21 @property (nonatomic) NSInteger interfaceSelection;
22 /* 22 /*
23 23
24 24
25 */ 25 */
26 26
40 if (self) { 40 if (self) {
41 // Custom initialization 41 // Custom initialization
42 42
43 [self populateQuestionArray ]; 43 [self populateQuestionArray ];
44 44
45 self.interfaceSelection = 0;
45 } 46 }
46 return self; 47 return self;
47 } 48 }
48 - (void)setAppRef:(id)theOFApp{ 49 - (void)setAppRef:(id)theOFApp{
49 self.theOFAppRef = theOFApp; 50 self.theOFAppRef = theOFApp;