project/apps/TestApp/Test App 2/GestureTestViewController.m in Ifd_Mobile-0.1.6 vs project/apps/TestApp/Test App 2/GestureTestViewController.m in Ifd_Mobile-0.1.7

- old
+ new

@@ -1,48 +1,48 @@ -// -// GestureTestViewController.m -// TestApp -// -// Created by ThinkSys- Amit on 12/07/13. -// -// - -#import "GestureTestViewController.h" - -@interface GestureTestViewController () - -@end - -@implementation GestureTestViewController - -- (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. -} - -- (IBAction)handleRotation:(UIRotationGestureRecognizer*)sender -{ - NSLog(@"Rotation Starts"); - sender.view.transform = CGAffineTransformRotate(sender.view.transform, sender.rotation); - sender.rotation = 0; -} -- (void)dealloc { - [_mapView release]; - [super dealloc]; -} -@end +// +// GestureTestViewController.m +// TestApp +// +// Created by ThinkSys- Amit on 12/07/13. +// +// + +#import "GestureTestViewController.h" + +@interface GestureTestViewController () + +@end + +@implementation GestureTestViewController + +- (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. +} + +- (IBAction)handleRotation:(UIRotationGestureRecognizer*)sender +{ + NSLog(@"Rotation Starts"); + sender.view.transform = CGAffineTransformRotate(sender.view.transform, sender.rotation); + sender.rotation = 0; +} +- (void)dealloc { + [_mapView release]; + [super dealloc]; +} +@end