Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 242f117
Showing
11 changed files
with
845 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,19 @@ | |||
# Ref http://shanesbrain.net/2008/7/9/using-xcode-with-git | |||
# http://gist.github.com/137348 | |||
|
|||
# old skool | |||
.svn | |||
|
|||
# osx noise | |||
.DS_Store | |||
*.swp | |||
profile | |||
|
|||
# xcode noise | |||
*~.nib | |||
*.mode1v3 | |||
*.mode2v3 | |||
*.pbxuser | |||
*.perspective | |||
*.perspectivev3 | |||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,22 @@ | |||
// | |||
// DistanceAppDelegate.h | |||
// Distance | |||
// | |||
// Created by Steve Baker on 1/30/10. | |||
// Copyright Beepscore LLC 2010. All rights reserved. | |||
// | |||
|
|||
#import <UIKit/UIKit.h> | |||
|
|||
@class DistanceViewController; | |||
|
|||
@interface DistanceAppDelegate : NSObject <UIApplicationDelegate> { | |||
UIWindow *window; | |||
DistanceViewController *viewController; | |||
} | |||
|
|||
@property (nonatomic, retain) IBOutlet UIWindow *window; | |||
@property (nonatomic, retain) IBOutlet DistanceViewController *viewController; | |||
|
|||
@end | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,35 @@ | |||
// | |||
// DistanceAppDelegate.m | |||
// Distance | |||
// | |||
// Created by Steve Baker on 1/30/10. | |||
// Copyright Beepscore LLC 2010. All rights reserved. | |||
// | |||
|
|||
#import "DistanceAppDelegate.h" | |||
#import "DistanceViewController.h" | |||
|
|||
@implementation DistanceAppDelegate | |||
|
|||
@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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,16 @@ | |||
// | |||
// DistanceViewController.h | |||
// Distance | |||
// | |||
// Created by Steve Baker on 1/30/10. | |||
// Copyright Beepscore LLC 2010. All rights reserved. | |||
// | |||
|
|||
#import <UIKit/UIKit.h> | |||
|
|||
@interface DistanceViewController : UIViewController { | |||
|
|||
} | |||
|
|||
@end | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,65 @@ | |||
// | |||
// DistanceViewController.m | |||
// Distance | |||
// | |||
// Created by Steve Baker on 1/30/10. | |||
// Copyright Beepscore LLC 2010. All rights reserved. | |||
// | |||
|
|||
#import "DistanceViewController.h" | |||
|
|||
@implementation DistanceViewController | |||
|
|||
|
|||
|
|||
/* | |||
// 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 { | |||
} | |||
*/ | |||
|
|||
|
|||
/* | |||
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. | |||
- (void)viewDidLoad { | |||
[super viewDidLoad]; | |||
} | |||
*/ | |||
|
|||
|
|||
/* | |||
// Override to allow orientations other than the default portrait orientation. | |||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { | |||
// Return YES for supported orientations | |||
return (interfaceOrientation == UIInterfaceOrientationPortrait); | |||
} | |||
*/ | |||
|
|||
- (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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,30 @@ | |||
<?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> | |||
</dict> | |||
</plist> |
Oops, something went wrong.