Mercurial > hg > soniczoomios
comparison HelpViewController.mm @ 28:e2c62db1e265
Started timer stuff
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Mon, 18 Feb 2013 11:45:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
27:ae4d2c3ce5e0 | 28:e2c62db1e265 |
---|---|
1 // | |
2 // HelpViewController.m | |
3 // sonicZoom | |
4 // | |
5 // Created by Robert Tubb on 01/02/2013. | |
6 // | |
7 // | |
8 | |
9 #import "HelpViewController.h" | |
10 #import "testApp.h" | |
11 @interface HelpViewController () | |
12 | |
13 @end | |
14 | |
15 @implementation HelpViewController | |
16 | |
17 - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil | |
18 { | |
19 self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; | |
20 if (self) { | |
21 // Custom initialization | |
22 } | |
23 return self; | |
24 } | |
25 | |
26 - (void)viewDidLoad | |
27 { | |
28 [super viewDidLoad]; | |
29 // Do any additional setup after loading the view from its nib. | |
30 } | |
31 | |
32 - (void)didReceiveMemoryWarning | |
33 { | |
34 [super didReceiveMemoryWarning]; | |
35 // Dispose of any resources that can be recreated. | |
36 } | |
37 | |
38 - (void)setAppRef:(id)theOFApp{ | |
39 self.theOFAppRef = theOFApp; | |
40 | |
41 } | |
42 -(IBAction)show:(id)sender{ | |
43 self.view.hidden = NO; | |
44 } | |
45 | |
46 - (IBAction)hide:(id)sender | |
47 { | |
48 self.view.hidden = YES; | |
49 ((testApp *)self.theOFAppRef)->helpHidden(); | |
50 | |
51 | |
52 } | |
53 @end |