Mercurial > hg > soniczoomios
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HelpViewController.mm Mon Feb 18 11:45:05 2013 +0000 @@ -0,0 +1,53 @@ +// +// 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