Mercurial > hg > soniczoomios
annotate SliderViewController.mm @ 37:8ed7522deaaa
Interpolation.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Tue, 09 Apr 2013 17:14:31 +0100 |
parents | a42903c61558 |
children | b91a1859829a |
rev | line source |
---|---|
rt300@36 | 1 // |
rt300@36 | 2 // SliderViewController.m |
rt300@36 | 3 // sonicZoom |
rt300@36 | 4 // |
rt300@36 | 5 // Created by Robert Tubb on 01/02/2013. |
rt300@36 | 6 // |
rt300@36 | 7 // |
rt300@36 | 8 |
rt300@36 | 9 #import "SliderViewController.h" |
rt300@36 | 10 |
rt300@36 | 11 @interface SliderViewController () |
rt300@36 | 12 |
rt300@36 | 13 @end |
rt300@36 | 14 |
rt300@36 | 15 @implementation SliderViewController |
rt300@36 | 16 |
rt300@36 | 17 - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil |
rt300@36 | 18 { |
rt300@36 | 19 self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; |
rt300@36 | 20 if (self) { |
rt300@36 | 21 // Custom initialization |
rt300@36 | 22 } |
rt300@36 | 23 return self; |
rt300@36 | 24 } |
rt300@36 | 25 |
rt300@36 | 26 - (void)viewDidLoad |
rt300@36 | 27 { |
rt300@36 | 28 [super viewDidLoad]; |
rt300@36 | 29 // Do any additional setup after loading the view from its nib. |
rt300@36 | 30 } |
rt300@36 | 31 |
rt300@36 | 32 - (void)didReceiveMemoryWarning |
rt300@36 | 33 { |
rt300@36 | 34 [super didReceiveMemoryWarning]; |
rt300@36 | 35 // Dispose of any resources that can be recreated. |
rt300@36 | 36 } |
rt300@36 | 37 |
rt300@36 | 38 - (void)setAppRef:(id)theOFApp{ |
rt300@36 | 39 self.theOFAppRef = theOFApp; |
rt300@36 | 40 |
rt300@36 | 41 } |
rt300@36 | 42 |
rt300@36 | 43 - (IBAction)show:(id)sender |
rt300@36 | 44 { |
rt300@36 | 45 self.theOFAppRef = sender; |
rt300@36 | 46 self.view.hidden = NO; |
rt300@36 | 47 } |
rt300@37 | 48 - (void)dealloc { |
rt300@37 | 49 [_slider1 release]; |
rt300@37 | 50 [super dealloc]; |
rt300@37 | 51 } |
rt300@37 | 52 - (void)viewDidUnload { |
rt300@37 | 53 [self setSlider1:nil]; |
rt300@37 | 54 [super viewDidUnload]; |
rt300@37 | 55 } |
rt300@36 | 56 @end |