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