Mercurial > hg > soniczoomios
annotate HelpViewController.m @ 49:178642d134a7 tip
xtra files
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Wed, 01 May 2013 17:34:33 +0100 |
parents | 2e1fdac115af |
children |
rev | line source |
---|---|
rt300@26 | 1 // |
rt300@26 | 2 // HelpViewController.m |
rt300@26 | 3 // sonicZoom |
rt300@26 | 4 // |
rt300@26 | 5 // Created by Robert Tubb on 01/02/2013. |
rt300@26 | 6 // |
rt300@26 | 7 // |
rt300@26 | 8 |
rt300@26 | 9 #import "HelpViewController.h" |
rt300@26 | 10 |
rt300@26 | 11 @interface HelpViewController () |
rt300@26 | 12 |
rt300@26 | 13 @end |
rt300@26 | 14 |
rt300@26 | 15 @implementation HelpViewController |
rt300@26 | 16 |
rt300@26 | 17 - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil |
rt300@26 | 18 { |
rt300@26 | 19 self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; |
rt300@26 | 20 if (self) { |
rt300@26 | 21 // Custom initialization |
rt300@26 | 22 } |
rt300@26 | 23 return self; |
rt300@26 | 24 } |
rt300@26 | 25 |
rt300@26 | 26 - (void)viewDidLoad |
rt300@26 | 27 { |
rt300@26 | 28 [super viewDidLoad]; |
rt300@26 | 29 // Do any additional setup after loading the view from its nib. |
rt300@26 | 30 } |
rt300@26 | 31 |
rt300@26 | 32 - (void)didReceiveMemoryWarning |
rt300@26 | 33 { |
rt300@26 | 34 [super didReceiveMemoryWarning]; |
rt300@26 | 35 // Dispose of any resources that can be recreated. |
rt300@26 | 36 } |
rt300@26 | 37 |
rt300@26 | 38 -(IBAction)show:(id)sender{ |
rt300@26 | 39 self.view.hidden = NO; |
rt300@26 | 40 } |
rt300@26 | 41 |
rt300@26 | 42 - (IBAction)hide:(id)sender |
rt300@26 | 43 { |
rt300@26 | 44 self.view.hidden = YES; |
rt300@26 | 45 //((testApp *)self.theOFAppRef)->introHidden(YES); |
rt300@26 | 46 |
rt300@26 | 47 } |
rt300@26 | 48 @end |