rt300@0: // rt300@0: // HelpViewController.m rt300@0: // sonicZoom rt300@0: // rt300@0: // Created by Robert Tubb on 01/02/2013. rt300@0: // rt300@0: // rt300@0: rt300@0: #import "HelpViewController.h" rt300@0: #import "testApp.h" rt300@0: @interface HelpViewController () rt300@0: rt300@0: @end rt300@0: rt300@0: @implementation HelpViewController rt300@0: rt300@0: - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil rt300@0: { rt300@0: self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; rt300@0: if (self) { rt300@0: // Custom initialization rt300@0: } rt300@0: return self; rt300@0: } rt300@0: rt300@0: - (void)viewDidLoad rt300@0: { rt300@0: [super viewDidLoad]; rt300@0: // Do any additional setup after loading the view from its nib. rt300@0: } rt300@0: rt300@0: - (void)didReceiveMemoryWarning rt300@0: { rt300@0: [super didReceiveMemoryWarning]; rt300@0: // Dispose of any resources that can be recreated. rt300@0: } rt300@0: rt300@0: - (void)setAppRef:(id)theOFApp{ rt300@0: self.theOFAppRef = theOFApp; rt300@0: rt300@0: } rt300@0: -(IBAction)show:(id)sender{ rt300@0: self.view.hidden = NO; rt300@0: } rt300@0: rt300@0: - (IBAction)hide:(id)sender rt300@0: { rt300@0: self.view.hidden = YES; rt300@0: ((testApp *)self.theOFAppRef)->helpHidden(); rt300@0: rt300@0: rt300@0: } rt300@0: @end