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