From 176ea2eef31deaa3a3646807522c5580ac4df30a Mon Sep 17 00:00:00 2001 From: Brian Jordan Date: Tue, 27 Mar 2012 18:56:07 -0400 Subject: Initial Commit --- Video Tuneup/ViewController.m | 64 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 Video Tuneup/ViewController.m (limited to 'Video Tuneup/ViewController.m') diff --git a/Video Tuneup/ViewController.m b/Video Tuneup/ViewController.m new file mode 100644 index 0000000..5625a9b --- /dev/null +++ b/Video Tuneup/ViewController.m @@ -0,0 +1,64 @@ +// +// ViewController.m +// Video Tuneup +// +// Created by Brian Jordan on 3/27/12. +// Copyright (c) 2012 __MyCompanyName__. All rights reserved. +// + +#import "ViewController.h" + +@implementation ViewController + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Release any cached data, images, etc that aren't in use. +} + +#pragma mark - View lifecycle + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view, typically from a nib. +} + +- (void)viewDidUnload +{ + [super viewDidUnload]; + // Release any retained subviews of the main view. + // e.g. self.myOutlet = nil; +} + +- (void)viewWillAppear:(BOOL)animated +{ + [super viewWillAppear:animated]; +} + +- (void)viewDidAppear:(BOOL)animated +{ + [super viewDidAppear:animated]; +} + +- (void)viewWillDisappear:(BOOL)animated +{ + [super viewWillDisappear:animated]; +} + +- (void)viewDidDisappear:(BOOL)animated +{ + [super viewDidDisappear:animated]; +} + +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation +{ + // Return YES for supported orientations + if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) { + return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown); + } else { + return YES; + } +} + +@end -- cgit v1.2.3