Mercurial > hg > soniczoomios
view QuestionnaireViewController.h @ 16:fb2ef16dd013
Split alert views. Settled on using portrait mode.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Thu, 17 Jan 2013 18:21:48 +0000 |
parents | e45c3e631d20 |
children | 650589cac373 |
line wrap: on
line source
// // QuestionnaireViewController.h // oscSenderExample // // Created by Robert Tubb on 16/01/2013. // // #import <UIKit/UIKit.h> @interface QuestionnaireViewController : UIViewController @property (retain, nonatomic) IBOutlet UILabel *questionText; @property (retain, nonatomic) IBOutlet UILabel *titleText; @property (retain, nonatomic) IBOutlet UIButton *finishButton; @property (retain, nonatomic) IBOutlet UIButton *nextButton; @property (retain, nonatomic) IBOutlet UISegmentedControl *segControl; //---------------------------------------------------------------- -(IBAction)hide:(id)sender; -(IBAction)show:(id)sender; - (IBAction)nextQuestionPressed:(id)sender; - (IBAction)previousQuestionPressed:(id)sender; - (IBAction)answerSelected:(id)sender; //---------------------------------------------------------------- - (void)setAppRef:(id)theOFApp; - (void)populateQuestionArray; - (void)populateAnswerArray; - (void)loadQuestion:(NSInteger)questionIndex; //---------------------------------------------------------------- @end