Permalink
Browse files

Remove unnessary files

  • Loading branch information...
1 parent ad30e15 commit d5570ab26d8615e7bc2f2fd7be648978e53b9e86 devinross committed Mar 31, 2010
@@ -1,22 +0,0 @@
-//
-// CoverflowPadAppDelegate.h
-// CoverflowPad
-//
-// Created by Devin Ross on 1/27/10.
-// Copyright Apple Inc 2010. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@class CoverflowPadViewController;
-
-@interface CoverflowPadAppDelegate : NSObject <UIApplicationDelegate> {
- UIWindow *window;
- CoverflowPadViewController *viewController;
-}
-
-@property (nonatomic, retain) IBOutlet UIWindow *window;
-@property (nonatomic, retain) IBOutlet CoverflowPadViewController *viewController;
-
-@end
-
@@ -1,35 +0,0 @@
-//
-// CoverflowPadAppDelegate.m
-// CoverflowPad
-//
-// Created by Devin Ross on 1/27/10.
-// Copyright Apple Inc 2010. All rights reserved.
-//
-
-#import "CoverflowPadAppDelegate.h"
-#import "CoverflowPadViewController.h"
-
-@implementation CoverflowPadAppDelegate
-
-@synthesize window;
-@synthesize viewController;
-
-
-- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
-
- // Override point for customization after app launch
- [window addSubview:viewController.view];
- [window makeKeyAndVisible];
-
- return YES;
-}
-
-
-- (void)dealloc {
- [viewController release];
- [window release];
- [super dealloc];
-}
-
-
-@end
@@ -1,24 +0,0 @@
-//
-// CoverflowPadViewController.h
-// CoverflowPad
-//
-// Created by Devin Ross on 1/27/10.
-// Copyright Apple Inc 2010. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-#import "TKCoverflowView.h"
-#import "TKCoverView.h"
-
-@interface CoverflowPadViewController : UIViewController <TKCoverflowViewDelegate,TKCoverflowViewDataSource> {
-
-
- TKCoverflowView *coverflow;
-
-
- NSMutableArray *covers; // album covers images
-
-}
-
-@end
-
@@ -1,114 +0,0 @@
-//
-// CoverflowPadViewController.m
-// CoverflowPad
-//
-// Created by Devin Ross on 1/27/10.
-// Copyright Apple Inc 2010. All rights reserved.
-//
-
-#import "CoverflowPadViewController.h"
-
-@implementation CoverflowPadViewController
-
-
-/*
-// The designated initializer. Override to perform setup that is required before the view is loaded.
-- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
- if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
- // Custom initialization
- }
- return self;
-}
-*/
-
-/*
-// Implement loadView to create a view hierarchy programmatically, without using a nib.
-- (void)loadView {
-}
-*/
-
-
-
-- (void)viewDidLoad {
- [super viewDidLoad];
-
- [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackOpaque];
-
-
- covers = [[NSArray arrayWithObjects:
- [UIImage imageNamed:@"cover_2.jpg"],[UIImage imageNamed:@"cover_1.jpg"],
- [UIImage imageNamed:@"cover_3.jpg"],[UIImage imageNamed:@"cover_4.jpg"],
- [UIImage imageNamed:@"cover_5.jpg"],[UIImage imageNamed:@"cover_6.jpg"],
- [UIImage imageNamed:@"cover_7.jpg"],[UIImage imageNamed:@"cover_8.jpg"],
- [UIImage imageNamed:@"cover_9.jpg"],nil] retain];
-
-
- coverflow = [[TKCoverflowView alloc] initWithFrame:CGRectMake(0, 0, 1024, 748)];
- coverflow.delegate = self;
- coverflow.dataSource = self;
- [self.view addSubview:coverflow];
-
- [coverflow setNumberOfCovers:60];
- coverflow.coverSize = CGSizeMake(400, 400);
- coverflow.coverSpacing = 140;
- //coverflow.angle = TKCoverflowViewCoverAngleMore;
-
-
-}
-
-
-
-- (void) coverflowView:(TKCoverflowView*)coverflowView coverAtIndexWasBroughtToFront:(int)index{
- //NSLog(@"Front %d",index);
-}
-- (TKCoverView*) coverflowView:(TKCoverflowView*)coverflowView coverAtIndex:(int)index;{
-
- TKCoverView *cover = [coverflowView dequeueReusableCoverView];
-
- if(cover == nil){
- cover = [[[TKCoverView alloc] initWithFrame:CGRectMake(0, 0, 400, 600)] autorelease]; // 224
-
- }
- cover.baseline = 400;
- cover.image = [covers objectAtIndex:index%[covers count]];
-
- return cover;
-
-}
-- (void) coverflowView:(TKCoverflowView*)coverflowView coverAtIndexWasDoubleTapped:(int)index{
-
-
- TKCoverView *cover = [coverflowView coverAtIndex:index];
- if(cover == nil) return;
- [UIView beginAnimations:nil context:nil];
- [UIView setAnimationDuration:1];
- [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:cover cache:YES];
- [UIView commitAnimations];
-
-
-
-
-
-}
-
-
-
-// Override to allow orientations other than the default portrait orientation.
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
- return interfaceOrientation == UIInterfaceOrientationLandscapeLeft;
-}
-- (void)didReceiveMemoryWarning {
- // Releases the view if it doesn't have a superview.
- [super didReceiveMemoryWarning];
-
- // Release any cached data, images, etc that aren't in use.
-}
-- (void)viewDidUnload {
- // Release any retained subviews of the main view.
- // e.g. self.myOutlet = nil;
-}
-- (void)dealloc {
- [super dealloc];
-}
-
-@end
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>English</string>
- <key>CFBundleDisplayName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIconFile</key>
- <string></string>
- <key>CFBundleIdentifier</key>
- <string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1.0</string>
- <key>LSRequiresIPhoneOS</key>
- <true/>
- <key>NSMainNibFile</key>
- <string>MainWindow</string>
- <key>UIInterfaceOrientation</key>
- <string>UIInterfaceOrientationLandscapeLeft</string>
-</dict>
-</plist>
Oops, something went wrong.

0 comments on commit d5570ab

Please sign in to comment.