#324: update GA to latest version to fix problem with SDK 7

This commit is contained in:
Patrick Santana 2013-10-14 17:02:26 -03:00
parent c096d45c78
commit 5cfe719840
154 changed files with 3770 additions and 6852 deletions

View file

@ -1,44 +0,0 @@
//
// ImageViewController.m
// CuteAnimals
//
// Copyright 2012 Google, Inc. All rights reserved.
//
#import "ImageViewController.h"
#import "AppDelegate.h"
@implementation ImageViewController
@synthesize imageView = imageView_;
@synthesize navController = navController_;
- (id)initWithNibName:(NSString *)nibNameOrNil
bundle:(NSBundle *)nibBundleOrNil
title:(NSString *)title
image:(UIImage *)image {
self = [super initWithNibName:nibNameOrNil
bundle:nibBundleOrNil];
if (self) {
self.title = self.trackedViewName = title;
self.imageView = [[[UIImageView alloc] initWithImage:image] autorelease];
self.imageView.userInteractionEnabled = YES;
self.imageView.contentMode = UIViewContentModeScaleAspectFit;
}
return self;
}
- (void)dealloc {
[imageView_ release];
[navController_ release];
[super dealloc];
}
- (BOOL)shouldAutorotateToInterfaceOrientation:
(UIInterfaceOrientation)interfaceOrientation {
return YES;
}
@end