Permalink
Browse files

Cleaning up crufty stuff in iOS Example

  • Loading branch information...
1 parent 7fba41f commit 90ff69438eed173765a657d8bfa6cc4d0d21c68d @johnboiles johnboiles committed Nov 1, 2011
@@ -3,7 +3,7 @@
// MyTestable
//
// Created by Gabriel Handford on 7/16/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
+// Copyright 2011. All rights reserved.
//
#import <UIKit/UIKit.h>
@@ -3,7 +3,7 @@
// MyTestable
//
// Created by Gabriel Handford on 7/16/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
+// Copyright 2011. All rights reserved.
//
#import "MyTestableAppDelegate.h"
@@ -17,7 +17,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
{
// Override point for customization after application launch.
[self.window makeKeyAndVisible];
- return YES;
+ return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application
@@ -62,7 +62,7 @@ - (void)applicationWillTerminate:(UIApplication *)application
- (void)dealloc
{
[_window release];
- [super dealloc];
+ [super dealloc];
}
@end
@@ -3,7 +3,7 @@
// MyTestable
//
// Created by Gabriel Handford on 7/16/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
+// Copyright 2011. All rights reserved.
//
#import <UIKit/UIKit.h>
@@ -3,16 +3,11 @@
// MyTestable
//
// Created by Gabriel Handford on 7/16/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
+// Copyright 2011. All rights reserved.
//
#import "MyTestableAppDelegate_iPad.h"
@implementation MyTestableAppDelegate_iPad
-- (void)dealloc
-{
- [super dealloc];
-}
-
@end
@@ -3,7 +3,7 @@
// MyTestable
//
// Created by John Boiles on 10/26/11.
-// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
+// Copyright (c) 2011. All rights reserved.
//
#import <UIKit/UIKit.h>
@@ -3,49 +3,11 @@
// MyTestable
//
// Created by John Boiles on 10/26/11.
-// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
+// Copyright (c) 2011. All rights reserved.
//
#import "MyTestableViewController_iPad.h"
@implementation MyTestableViewController_iPad
-- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
-{
- self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
- if (self) {
- // Custom initialization
- }
- return self;
-}
-
-- (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.
-}
-
-#pragma mark - View lifecycle
-
-- (void)viewDidLoad
-{
- [super viewDidLoad];
- // Do any additional setup after loading the view from its nib.
-}
-
-- (void)viewDidUnload
-{
- [super viewDidUnload];
- // Release any retained subviews of the main view.
- // e.g. self.myOutlet = nil;
-}
-
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
-{
- // Return YES for supported orientations
- return YES;
-}
-
@end
@@ -3,7 +3,7 @@
// MyTestable
//
// Created by Gabriel Handford on 7/16/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
+// Copyright 2011. All rights reserved.
//
#import <UIKit/UIKit.h>
@@ -3,16 +3,11 @@
// MyTestable
//
// Created by Gabriel Handford on 7/16/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
+// Copyright 2011. All rights reserved.
//
#import "MyTestableAppDelegate_iPhone.h"
@implementation MyTestableAppDelegate_iPhone
-- (void)dealloc
-{
- [super dealloc];
-}
-
@end
@@ -3,7 +3,7 @@
// MyTestable
//
// Created by John Boiles on 10/26/11.
-// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
+// Copyright (c) 2011. All rights reserved.
//
#import <UIKit/UIKit.h>
@@ -3,49 +3,11 @@
// MyTestable
//
// Created by John Boiles on 10/26/11.
-// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
+// Copyright (c) 2011. All rights reserved.
//
#import "MyTestableViewController_iPhone.h"
@implementation MyTestableViewController_iPhone
-- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
-{
- self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
- if (self) {
- // Custom initialization
- }
- return self;
-}
-
-- (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.
-}
-
-#pragma mark - View lifecycle
-
-- (void)viewDidLoad
-{
- [super viewDidLoad];
- // Do any additional setup after loading the view from its nib.
-}
-
-- (void)viewDidUnload
-{
- [super viewDidUnload];
- // Release any retained subviews of the main view.
- // e.g. self.myOutlet = nil;
-}
-
-- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
-{
- // Return YES for supported orientations
- return (interfaceOrientation == UIInterfaceOrientationPortrait);
-}
-
@end
@@ -74,7 +74,6 @@
<string key="NSFrame">{{10, 161}, {310, 137}}</string>
<reference key="NSSuperview" ref="191373211"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:328</string>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
@@ -179,7 +178,7 @@ X3wgIC9fX3x8X198ICAKL19fX19fLyAgICAgIFwvICAgICAgICAgICBcLw</string>
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
- <int key="maxID">10</int>
+ <int key="maxID">15</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes"/>
<int key="IBDocument.localizationMode">0</int>
@@ -3,7 +3,7 @@
// MyTestable
//
// Created by Gabriel Handford on 7/16/11.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
+// Copyright 2011. All rights reserved.
//
#import <UIKit/UIKit.h>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -3,7 +3,7 @@
// MyTestable
//
// Created by John Boiles on 10/26/11.
-// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
+// Copyright (c) 2011. All rights reserved.
//
#import <GHUnitIOS/GHUnit.h>

0 comments on commit 90ff694

Please sign in to comment.