Permalink
Browse files

First commit

  • Loading branch information...
mbrit committed Aug 9, 2010
0 parents commit cb4a51294731df4e0a5aff64ebe69b6708966b54
@@ -0,0 +1,11 @@
+# xcode noise
+build/*
+*.pbxuser
+*.mode1v3
+
+# old skool
+.svn
+
+# osx noise
+.DS_Store
+profile
@@ -0,0 +1,27 @@
+//
+// HelloWorldAppDelegate.h
+// HelloWorld
+//
+// Created by Matthew Baxter-Reynolds on 09/08/2010.
+// Copyright (c) 2010 AMX Software Ltd. All rights reserved.
+//
+
+
+#import <UIKit/UIKit.h>
+
+@class HelloWorldViewController;
+
+@interface HelloWorldAppDelegate : NSObject <UIApplicationDelegate> {
+
+ UIWindow *window;
+
+ HelloWorldViewController *viewController;
+}
+
+@property (nonatomic, retain) IBOutlet UIWindow *window;
+
+
+@property (nonatomic, retain) IBOutlet HelloWorldViewController *viewController;
+
+@end
+
@@ -0,0 +1,43 @@
+//
+// HelloWorldAppDelegate.m
+// HelloWorld
+//
+// Created by Matthew Baxter-Reynolds on 09/08/2010.
+// Copyright (c) 2010 AMX Software Ltd. All rights reserved.
+//
+
+
+#import "HelloWorldAppDelegate.h"
+
+#import "HelloWorldViewController.h"
+
+@implementation HelloWorldAppDelegate
+
+
+@synthesize window;
+
+@synthesize viewController;
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
+
+ // Override point for customization after application launch.
+
+ [window addSubview:viewController.view];
+ [window makeKeyAndVisible];
+ return YES;
+}
+
+- (void)applicationWillTerminate:(UIApplication *)application {
+
+ // Save data if appropriate.
+}
+
+- (void)dealloc {
+
+ [window release];
+ [viewController release];
+ [super dealloc];
+}
+
+@end
+
@@ -0,0 +1,21 @@
+//
+// HelloWorldViewController.h
+// HelloWorld
+//
+// Created by Matthew Baxter-Reynolds on 09/08/2010.
+// Copyright (c) 2010 AMX Software Ltd. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface HelloWorldViewController : UIViewController {
+
+ UIButton *buttonHello;
+}
+
+@property (nonatomic, retain) IBOutlet UIButton *buttonHello;
+
+-(IBAction)handleClick:(id)sender;
+
+@end
+
@@ -0,0 +1,74 @@
+//
+// HelloWorldViewController.m
+// HelloWorld
+//
+// Created by Matthew Baxter-Reynolds on 09/08/2010.
+// Copyright (c) 2010 AMX Software Ltd. All rights reserved.
+//
+
+#import "HelloWorldViewController.h"
+#import "SBMessageBox.h"
+
+@implementation HelloWorldViewController
+
+
+@synthesize buttonHello;
+
+-(IBAction)handleClick:(id)sender
+{
+ // say hello...
+ [SBMessageBox show:@"Hello, world."];
+}
+
+
+/*
+// 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
@@ -0,0 +1,44 @@
+<?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>CFBundleIdentifier</key>
+ <string>com.amxMobile.iOS.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></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>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleIconFile</key>
+ <string></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>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>NSMainNibFile</key>
+ <string>MainWindow</string>
+</dict>
+</plist>
+
Oops, something went wrong.

0 comments on commit cb4a512

Please sign in to comment.