Mercurial > hg > soniczoomios
view HelpViewController.mm @ 49:178642d134a7 tip
xtra files
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Wed, 01 May 2013 17:34:33 +0100 |
parents | e2c62db1e265 |
children |
line wrap: on
line source
// // HelpViewController.m // sonicZoom // // Created by Robert Tubb on 01/02/2013. // // #import "HelpViewController.h" #import "testApp.h" @interface HelpViewController () @end @implementation HelpViewController - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; if (self) { // Custom initialization } return self; } - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view from its nib. } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (void)setAppRef:(id)theOFApp{ self.theOFAppRef = theOFApp; } -(IBAction)show:(id)sender{ self.view.hidden = NO; } - (IBAction)hide:(id)sender { self.view.hidden = YES; ((testApp *)self.theOFAppRef)->helpHidden(); } @end