Remove old XCode project, and add two new ones, one for iPhone, one for Mac
This should make things easier - XCode never seemed to like mixing SDKs in a single project Add new file layout
Showing
48 changed files
with
27 additions
and
116 deletions
File moved
File moved
FirstViewController.h
deleted
100644 → 0
FirstViewController.m
deleted
100644 → 0
| 1 | -// | ||
| 2 | -// FirstViewController.m | ||
| 3 | -// tabtest | ||
| 4 | -// | ||
| 5 | -// Created by Ben Copsey on 07/11/2008. | ||
| 6 | -// Copyright All-Seeing Interactive 2008. All rights reserved. | ||
| 7 | -// | ||
| 8 | - | ||
| 9 | -#import "FirstViewController.h" | ||
| 10 | - | ||
| 11 | - | ||
| 12 | -@implementation FirstViewController | ||
| 13 | - | ||
| 14 | - | ||
| 15 | -/* | ||
| 16 | -// Override initWithNibName:bundle: to load the view using a nib file then perform additional customization that is not appropriate for viewDidLoad. | ||
| 17 | -- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { | ||
| 18 | - if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { | ||
| 19 | - // Custom initialization | ||
| 20 | - } | ||
| 21 | - return self; | ||
| 22 | -} | ||
| 23 | -*/ | ||
| 24 | - | ||
| 25 | -/* | ||
| 26 | -// Implement loadView to create a view hierarchy programmatically. | ||
| 27 | -- (void)loadView { | ||
| 28 | -} | ||
| 29 | -*/ | ||
| 30 | - | ||
| 31 | -/* | ||
| 32 | -// Implement viewDidLoad to do additional setup after loading the view. | ||
| 33 | -- (void)viewDidLoad { | ||
| 34 | - [super viewDidLoad]; | ||
| 35 | -} | ||
| 36 | -*/ | ||
| 37 | - | ||
| 38 | - | ||
| 39 | -- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { | ||
| 40 | - // Return YES for supported orientations | ||
| 41 | - return (interfaceOrientation == UIInterfaceOrientationPortrait); | ||
| 42 | -} | ||
| 43 | - | ||
| 44 | - | ||
| 45 | -- (void)didReceiveMemoryWarning { | ||
| 46 | - [super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview | ||
| 47 | - // Release anything that's not essential, such as cached data | ||
| 48 | -} | ||
| 49 | - | ||
| 50 | - | ||
| 51 | -- (void)dealloc { | ||
| 52 | - [super dealloc]; | ||
| 53 | -} | ||
| 54 | - | ||
| 55 | -@end |
File moved
File moved
File moved
File moved
Mac.xcodeproj/TemplateIcon.icns
0 → 100644
No preview for this file type
Mac.xcodeproj/project.pbxproj
0 → 100644
This diff was suppressed by a .gitattributes entry.
Tests (GHUnit)-Info.plist
deleted
100644 → 0
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | -<plist version="1.0"> | ||
| 4 | -<dict> | ||
| 5 | - <key>CFBundleDevelopmentRegion</key> | ||
| 6 | - <string>English</string> | ||
| 7 | - <key>CFBundleExecutable</key> | ||
| 8 | - <string>${EXECUTABLE_NAME}</string> | ||
| 9 | - <key>CFBundleIdentifier</key> | ||
| 10 | - <string>com.yourcompany.${PRODUCT_NAME:identifier}</string> | ||
| 11 | - <key>CFBundleInfoDictionaryVersion</key> | ||
| 12 | - <string>6.0</string> | ||
| 13 | - <key>CFBundlePackageType</key> | ||
| 14 | - <string>APPL</string> | ||
| 15 | - <key>CFBundleSignature</key> | ||
| 16 | - <string>????</string> | ||
| 17 | - <key>CFBundleVersion</key> | ||
| 18 | - <string>1.0</string> | ||
| 19 | - <key>NSMainNibFile</key> | ||
| 20 | - <string>MainMenu</string> | ||
| 21 | - <key>NSPrincipalClass</key> | ||
| 22 | - <string>NSApplication</string> | ||
| 23 | -</dict> | ||
| 24 | -</plist> |
Tests-Info.plist
deleted
100644 → 0
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | -<plist version="1.0"> | ||
| 4 | -<dict> | ||
| 5 | - <key>CFBundleDevelopmentRegion</key> | ||
| 6 | - <string>English</string> | ||
| 7 | - <key>CFBundleExecutable</key> | ||
| 8 | - <string>${EXECUTABLE_NAME}</string> | ||
| 9 | - <key>CFBundleIdentifier</key> | ||
| 10 | - <string>com.yourcompany.${PRODUCT_NAME:identifier}</string> | ||
| 11 | - <key>CFBundleInfoDictionaryVersion</key> | ||
| 12 | - <string>6.0</string> | ||
| 13 | - <key>CFBundlePackageType</key> | ||
| 14 | - <string>BNDL</string> | ||
| 15 | - <key>CFBundleSignature</key> | ||
| 16 | - <string>????</string> | ||
| 17 | - <key>CFBundleVersion</key> | ||
| 18 | - <string>1.0</string> | ||
| 19 | -</dict> | ||
| 20 | -</plist> |
This diff was suppressed by a .gitattributes entry.
| @@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
| 9 | <key>CFBundleIconFile</key> | 9 | <key>CFBundleIconFile</key> |
| 10 | <string>iphone-icon.png</string> | 10 | <string>iphone-icon.png</string> |
| 11 | <key>CFBundleIdentifier</key> | 11 | <key>CFBundleIdentifier</key> |
| 12 | - <string>com.yourcompany.${PRODUCT_NAME:identifier}</string> | 12 | + <string>com.allseeinginteractive.trailsnetwork.asitest1234</string> |
| 13 | <key>CFBundleInfoDictionaryVersion</key> | 13 | <key>CFBundleInfoDictionaryVersion</key> |
| 14 | <string>6.0</string> | 14 | <string>6.0</string> |
| 15 | <key>CFBundlePackageType</key> | 15 | <key>CFBundlePackageType</key> |
| @@ -3,6 +3,7 @@ | @@ -3,6 +3,7 @@ | ||
| 3 | // | 3 | // |
| 4 | 4 | ||
| 5 | #ifdef __OBJC__ | 5 | #ifdef __OBJC__ |
| 6 | +#import <CoreFoundation/CoreFoundation.h> | ||
| 6 | #import <Foundation/Foundation.h> | 7 | #import <Foundation/Foundation.h> |
| 7 | #import <CFNetwork/CFNetwork.h> | 8 | #import <CFNetwork/CFNetwork.h> |
| 8 | #import <UIKit/UIKit.h> | 9 | #import <UIKit/UIKit.h> |
iPhone Sample/iPhone_Prefix.pch
0 → 100644
iPhone Sample/main.m
0 → 100644
| 1 | +// | ||
| 2 | +// main.m | ||
| 3 | +// iPhone | ||
| 4 | +// | ||
| 5 | +// Created by Ben Copsey on 22/03/2009. | ||
| 6 | +// Copyright All-Seeing Interactive 2009. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <UIKit/UIKit.h> | ||
| 10 | + | ||
| 11 | +int main(int argc, char *argv[]) { | ||
| 12 | + NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; | ||
| 13 | + int retVal = UIApplicationMain(argc, argv, nil, nil); | ||
| 14 | + [pool release]; | ||
| 15 | + return retVal; | ||
| 16 | +} | ||
| 17 | + |
iPhone.xcodeproj/project.pbxproj
0 → 100644
This diff was suppressed by a .gitattributes entry.
-
Please register or login to post a comment