From 006d1a81482a09db033852a00c1279407d0fa945 Mon Sep 17 00:00:00 2001 From: lorenzo Date: Tue, 24 May 2011 00:10:17 +0200 Subject: [PATCH] Initial Commit --- PaperStackDemo.xcodeproj/project.pbxproj | 288 ++++++++++++ PaperStackDemo/PaperStackDemo-Info.plist | 39 ++ PaperStackDemo/PaperStackDemo-Prefix.pch | 14 + PaperStackDemo/PaperStackDemoAppDelegate.h | 21 + PaperStackDemo/PaperStackDemoAppDelegate.m | 75 +++ PaperStackDemo/PaperStackDemoViewController.h | 15 + PaperStackDemo/PaperStackDemoViewController.m | 49 ++ PaperStackDemo/en.lproj/InfoPlist.strings | 2 + PaperStackDemo/en.lproj/MainWindow.xib | 436 ++++++++++++++++++ .../en.lproj/PaperStackDemoViewController.xib | 354 ++++++++++++++ PaperStackDemo/main.m | 17 + 11 files changed, 1310 insertions(+) create mode 100644 PaperStackDemo.xcodeproj/project.pbxproj create mode 100644 PaperStackDemo/PaperStackDemo-Info.plist create mode 100644 PaperStackDemo/PaperStackDemo-Prefix.pch create mode 100644 PaperStackDemo/PaperStackDemoAppDelegate.h create mode 100644 PaperStackDemo/PaperStackDemoAppDelegate.m create mode 100644 PaperStackDemo/PaperStackDemoViewController.h create mode 100644 PaperStackDemo/PaperStackDemoViewController.m create mode 100644 PaperStackDemo/en.lproj/InfoPlist.strings create mode 100644 PaperStackDemo/en.lproj/MainWindow.xib create mode 100644 PaperStackDemo/en.lproj/PaperStackDemoViewController.xib create mode 100644 PaperStackDemo/main.m diff --git a/PaperStackDemo.xcodeproj/project.pbxproj b/PaperStackDemo.xcodeproj/project.pbxproj new file mode 100644 index 0000000..145635a --- /dev/null +++ b/PaperStackDemo.xcodeproj/project.pbxproj @@ -0,0 +1,288 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + ED67EE78138B12C900487AF1 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED67EE77138B12C900487AF1 /* UIKit.framework */; }; + ED67EE7A138B12C900487AF1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED67EE79138B12C900487AF1 /* Foundation.framework */; }; + ED67EE7C138B12C900487AF1 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED67EE7B138B12C900487AF1 /* CoreGraphics.framework */; }; + ED67EE82138B12C900487AF1 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = ED67EE80138B12C900487AF1 /* InfoPlist.strings */; }; + ED67EE85138B12C900487AF1 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = ED67EE84138B12C900487AF1 /* main.m */; }; + ED67EE88138B12C900487AF1 /* PaperStackDemoAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = ED67EE87138B12C900487AF1 /* PaperStackDemoAppDelegate.m */; }; + ED67EE8B138B12C900487AF1 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = ED67EE89138B12C900487AF1 /* MainWindow.xib */; }; + ED67EE8E138B12C900487AF1 /* PaperStackDemoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = ED67EE8D138B12C900487AF1 /* PaperStackDemoViewController.m */; }; + ED67EE91138B12C900487AF1 /* PaperStackDemoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = ED67EE8F138B12C900487AF1 /* PaperStackDemoViewController.xib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + ED67EE73138B12C900487AF1 /* PaperStackDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PaperStackDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; + ED67EE77138B12C900487AF1 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + ED67EE79138B12C900487AF1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + ED67EE7B138B12C900487AF1 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + ED67EE7F138B12C900487AF1 /* PaperStackDemo-Info.plist */ = {isa = PBXFileReference; path = "PaperStackDemo-Info.plist"; sourceTree = ""; }; + ED67EE81138B12C900487AF1 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + ED67EE83138B12C900487AF1 /* PaperStackDemo-Prefix.pch */ = {isa = PBXFileReference; path = "PaperStackDemo-Prefix.pch"; sourceTree = ""; }; + ED67EE84138B12C900487AF1 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + ED67EE86138B12C900487AF1 /* PaperStackDemoAppDelegate.h */ = {isa = PBXFileReference; path = PaperStackDemoAppDelegate.h; sourceTree = ""; }; + ED67EE87138B12C900487AF1 /* PaperStackDemoAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PaperStackDemoAppDelegate.m; sourceTree = ""; }; + ED67EE8A138B12C900487AF1 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainWindow.xib; sourceTree = ""; }; + ED67EE8C138B12C900487AF1 /* PaperStackDemoViewController.h */ = {isa = PBXFileReference; path = PaperStackDemoViewController.h; sourceTree = ""; }; + ED67EE8D138B12C900487AF1 /* PaperStackDemoViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PaperStackDemoViewController.m; sourceTree = ""; }; + ED67EE90138B12C900487AF1 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/PaperStackDemoViewController.xib; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + ED67EE70138B12C900487AF1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ED67EE78138B12C900487AF1 /* UIKit.framework in Frameworks */, + ED67EE7A138B12C900487AF1 /* Foundation.framework in Frameworks */, + ED67EE7C138B12C900487AF1 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + ED67EE68138B12C900487AF1 = { + isa = PBXGroup; + children = ( + ED67EE7D138B12C900487AF1 /* PaperStackDemo */, + ED67EE76138B12C900487AF1 /* Frameworks */, + ED67EE74138B12C900487AF1 /* Products */, + ); + sourceTree = ""; + }; + ED67EE74138B12C900487AF1 /* Products */ = { + isa = PBXGroup; + children = ( + ED67EE73138B12C900487AF1 /* PaperStackDemo.app */, + ); + name = Products; + sourceTree = ""; + }; + ED67EE76138B12C900487AF1 /* Frameworks */ = { + isa = PBXGroup; + children = ( + ED67EE77138B12C900487AF1 /* UIKit.framework */, + ED67EE79138B12C900487AF1 /* Foundation.framework */, + ED67EE7B138B12C900487AF1 /* CoreGraphics.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + ED67EE7D138B12C900487AF1 /* PaperStackDemo */ = { + isa = PBXGroup; + children = ( + ED67EE86138B12C900487AF1 /* PaperStackDemoAppDelegate.h */, + ED67EE87138B12C900487AF1 /* PaperStackDemoAppDelegate.m */, + ED67EE89138B12C900487AF1 /* MainWindow.xib */, + ED67EE8C138B12C900487AF1 /* PaperStackDemoViewController.h */, + ED67EE8D138B12C900487AF1 /* PaperStackDemoViewController.m */, + ED67EE8F138B12C900487AF1 /* PaperStackDemoViewController.xib */, + ED67EE7E138B12C900487AF1 /* Supporting Files */, + ); + path = PaperStackDemo; + sourceTree = ""; + }; + ED67EE7E138B12C900487AF1 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + ED67EE7F138B12C900487AF1 /* PaperStackDemo-Info.plist */, + ED67EE80138B12C900487AF1 /* InfoPlist.strings */, + ED67EE83138B12C900487AF1 /* PaperStackDemo-Prefix.pch */, + ED67EE84138B12C900487AF1 /* main.m */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + ED67EE72138B12C900487AF1 /* PaperStackDemo */ = { + isa = PBXNativeTarget; + buildConfigurationList = ED67EE94138B12C900487AF1 /* Build configuration list for PBXNativeTarget "PaperStackDemo" */; + buildPhases = ( + ED67EE6F138B12C900487AF1 /* Sources */, + ED67EE70138B12C900487AF1 /* Frameworks */, + ED67EE71138B12C900487AF1 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PaperStackDemo; + productName = PaperStackDemo; + productReference = ED67EE73138B12C900487AF1 /* PaperStackDemo.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + ED67EE6A138B12C900487AF1 /* Project object */ = { + isa = PBXProject; + attributes = { + ORGANIZATIONNAME = Mutado; + }; + buildConfigurationList = ED67EE6D138B12C900487AF1 /* Build configuration list for PBXProject "PaperStackDemo" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = ED67EE68138B12C900487AF1; + productRefGroup = ED67EE74138B12C900487AF1 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + ED67EE72138B12C900487AF1 /* PaperStackDemo */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + ED67EE71138B12C900487AF1 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ED67EE82138B12C900487AF1 /* InfoPlist.strings in Resources */, + ED67EE8B138B12C900487AF1 /* MainWindow.xib in Resources */, + ED67EE91138B12C900487AF1 /* PaperStackDemoViewController.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + ED67EE6F138B12C900487AF1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ED67EE85138B12C900487AF1 /* main.m in Sources */, + ED67EE88138B12C900487AF1 /* PaperStackDemoAppDelegate.m in Sources */, + ED67EE8E138B12C900487AF1 /* PaperStackDemoViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + ED67EE80138B12C900487AF1 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + ED67EE81138B12C900487AF1 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + ED67EE89138B12C900487AF1 /* MainWindow.xib */ = { + isa = PBXVariantGroup; + children = ( + ED67EE8A138B12C900487AF1 /* en */, + ); + name = MainWindow.xib; + sourceTree = ""; + }; + ED67EE8F138B12C900487AF1 /* PaperStackDemoViewController.xib */ = { + isa = PBXVariantGroup; + children = ( + ED67EE90138B12C900487AF1 /* en */, + ); + name = PaperStackDemoViewController.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + ED67EE92138B12C900487AF1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = DEBUG; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_VERSION = com.apple.compilers.llvmgcc42; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 4.3; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = 2; + }; + name = Debug; + }; + ED67EE93138B12C900487AF1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_VERSION = com.apple.compilers.llvmgcc42; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 4.3; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = 2; + }; + name = Release; + }; + ED67EE95138B12C900487AF1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PaperStackDemo/PaperStackDemo-Prefix.pch"; + INFOPLIST_FILE = "PaperStackDemo/PaperStackDemo-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + ED67EE96138B12C900487AF1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PaperStackDemo/PaperStackDemo-Prefix.pch"; + INFOPLIST_FILE = "PaperStackDemo/PaperStackDemo-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + VALIDATE_PRODUCT = YES; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + ED67EE6D138B12C900487AF1 /* Build configuration list for PBXProject "PaperStackDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + ED67EE92138B12C900487AF1 /* Debug */, + ED67EE93138B12C900487AF1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + ED67EE94138B12C900487AF1 /* Build configuration list for PBXNativeTarget "PaperStackDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + ED67EE95138B12C900487AF1 /* Debug */, + ED67EE96138B12C900487AF1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = ED67EE6A138B12C900487AF1 /* Project object */; +} diff --git a/PaperStackDemo/PaperStackDemo-Info.plist b/PaperStackDemo/PaperStackDemo-Info.plist new file mode 100644 index 0000000..c3a9a18 --- /dev/null +++ b/PaperStackDemo/PaperStackDemo-Info.plist @@ -0,0 +1,39 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.mutado.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + NSMainNibFile + MainWindow + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/PaperStackDemo/PaperStackDemo-Prefix.pch b/PaperStackDemo/PaperStackDemo-Prefix.pch new file mode 100644 index 0000000..2363494 --- /dev/null +++ b/PaperStackDemo/PaperStackDemo-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'PaperStackDemo' target in the 'PaperStackDemo' project +// + +#import + +#ifndef __IPHONE_3_0 +#warning "This project uses features only available in iPhone SDK 3.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/PaperStackDemo/PaperStackDemoAppDelegate.h b/PaperStackDemo/PaperStackDemoAppDelegate.h new file mode 100644 index 0000000..cab2647 --- /dev/null +++ b/PaperStackDemo/PaperStackDemoAppDelegate.h @@ -0,0 +1,21 @@ +// +// PaperStackDemoAppDelegate.h +// PaperStackDemo +// +// Created by Lorenzo Manfredi on 24/05/11. +// Copyright 2011 Mutado. All rights reserved. +// + +#import + +@class PaperStackDemoViewController; + +@interface PaperStackDemoAppDelegate : NSObject { + +} + +@property (nonatomic, retain) IBOutlet UIWindow *window; + +@property (nonatomic, retain) IBOutlet PaperStackDemoViewController *viewController; + +@end diff --git a/PaperStackDemo/PaperStackDemoAppDelegate.m b/PaperStackDemo/PaperStackDemoAppDelegate.m new file mode 100644 index 0000000..5d8026b --- /dev/null +++ b/PaperStackDemo/PaperStackDemoAppDelegate.m @@ -0,0 +1,75 @@ +// +// PaperStackDemoAppDelegate.m +// PaperStackDemo +// +// Created by Lorenzo Manfredi on 24/05/11. +// Copyright 2011 Mutado. All rights reserved. +// + +#import "PaperStackDemoAppDelegate.h" + +#import "PaperStackDemoViewController.h" + +@implementation PaperStackDemoAppDelegate + + +@synthesize window=_window; + +@synthesize viewController=_viewController; + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + // Override point for customization after application launch. + + self.window.rootViewController = self.viewController; + [self.window makeKeyAndVisible]; + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + /* + Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + */ +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + /* + Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + */ +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + /* + Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. + */ +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + /* + Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + */ +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + /* + Called when the application is about to terminate. + Save data if appropriate. + See also applicationDidEnterBackground:. + */ +} + +- (void)dealloc +{ + [_window release]; + [_viewController release]; + [super dealloc]; +} + +@end diff --git a/PaperStackDemo/PaperStackDemoViewController.h b/PaperStackDemo/PaperStackDemoViewController.h new file mode 100644 index 0000000..806e0e7 --- /dev/null +++ b/PaperStackDemo/PaperStackDemoViewController.h @@ -0,0 +1,15 @@ +// +// PaperStackDemoViewController.h +// PaperStackDemo +// +// Created by Lorenzo Manfredi on 24/05/11. +// Copyright 2011 Mutado. All rights reserved. +// + +#import + +@interface PaperStackDemoViewController : UIViewController { + +} + +@end diff --git a/PaperStackDemo/PaperStackDemoViewController.m b/PaperStackDemo/PaperStackDemoViewController.m new file mode 100644 index 0000000..6b96d5c --- /dev/null +++ b/PaperStackDemo/PaperStackDemoViewController.m @@ -0,0 +1,49 @@ +// +// PaperStackDemoViewController.m +// PaperStackDemo +// +// Created by Lorenzo Manfredi on 24/05/11. +// Copyright 2011 Mutado. All rights reserved. +// + +#import "PaperStackDemoViewController.h" + +@implementation PaperStackDemoViewController + +- (void)dealloc +{ + [super dealloc]; +} + +- (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 + +/* +// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. +- (void)viewDidLoad +{ + [super viewDidLoad]; +} +*/ + +- (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 diff --git a/PaperStackDemo/en.lproj/InfoPlist.strings b/PaperStackDemo/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/PaperStackDemo/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/PaperStackDemo/en.lproj/MainWindow.xib b/PaperStackDemo/en.lproj/MainWindow.xib new file mode 100644 index 0000000..ecdb6cf --- /dev/null +++ b/PaperStackDemo/en.lproj/MainWindow.xib @@ -0,0 +1,436 @@ + + + + 800 + 10D540 + 760 + 1038.29 + 460.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 81 + + + YES + + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + YES + + YES + + + YES + + + + YES + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 292 + {768, 1024} + + + 1 + MSAxIDEAA + + NO + NO + + 2 + + IBIPadFramework + YES + + + IBIPadFramework + + + PaperStackDemoViewController + + IBIPadFramework + + + + + YES + + + viewController + + + + 8 + + + + delegate + + + + 9 + + + + window + + + + 10 + + + + + YES + + 0 + + + + + + -1 + + + File's Owner + + + -2 + + + + + 2 + + + + + 6 + + + PaperStackDemo App Delegate + + + 7 + + + + + + + YES + + YES + -1.CustomClassName + -2.CustomClassName + 2.IBEditorWindowLastContentRect + 2.IBPluginDependency + 6.CustomClassName + 6.IBPluginDependency + 7.CustomClassName + 7.IBEditorWindowLastContentRect + 7.IBPluginDependency + + + YES + UIApplication + UIResponder + {{200, 57}, {783, 799}} + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + PaperStackDemoAppDelegate + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + PaperStackDemoViewController + {{512, 351}, {320, 480}} + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + YES + + + + + YES + + + YES + + + + 10 + + + + YES + + PaperStackDemoAppDelegate + NSObject + + YES + + YES + viewController + window + + + YES + PaperStackDemoViewController + UIWindow + + + + IBProjectSource + PaperStackDemoAppDelegate.h + + + + PaperStackDemoViewController + UIViewController + + IBProjectSource + PaperStackDemoViewController.h + + + + + YES + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSError.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSFileManager.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueCoding.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueObserving.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyedArchiver.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSNetServices.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSObject.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSPort.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSRunLoop.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSStream.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSThread.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURL.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURLConnection.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSXMLParser.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIAccessibility.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UINibLoading.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIResponder.h + + + + UIApplication + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIApplication.h + + + + UIResponder + NSObject + + + + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UITextInput.h + + + + UISearchBar + UIView + + IBFrameworkSource + UIKit.framework/Headers/UISearchBar.h + + + + UISearchDisplayController + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UISearchDisplayController.h + + + + UIView + + IBFrameworkSource + UIKit.framework/Headers/UITextField.h + + + + UIView + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIView.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UINavigationController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UISplitViewController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UITabBarController.h + + + + UIViewController + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIViewController.h + + + + UIWindow + UIView + + IBFrameworkSource + UIKit.framework/Headers/UIWindow.h + + + + + 0 + IBIPadFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + PaperStackDemo.xcodeproj + 3 + 81 + + diff --git a/PaperStackDemo/en.lproj/PaperStackDemoViewController.xib b/PaperStackDemo/en.lproj/PaperStackDemoViewController.xib new file mode 100644 index 0000000..b4b32a5 --- /dev/null +++ b/PaperStackDemo/en.lproj/PaperStackDemoViewController.xib @@ -0,0 +1,354 @@ + + + + 800 + 10C540 + 760 + 1038.25 + 458.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 82 + + + YES + + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + YES + + YES + + + YES + + + + YES + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + {768, 1004} + + + 3 + MQA + + 2 + + + + 2 + + IBIPadFramework + + + + + YES + + + view + + + + 3 + + + + + YES + + 0 + + + + + + -1 + + + File's Owner + + + -2 + + + + + 2 + + + + + + + YES + + YES + -1.CustomClassName + -2.CustomClassName + 2.IBEditorWindowLastContentRect + 2.IBPluginDependency + + + YES + PaperStackDemoViewController + UIResponder + {{513, 0}, {783, 856}} + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + YES + + + + + YES + + + YES + + + + 3 + + + + YES + + PaperStackDemoViewController + UIViewController + + IBProjectSource + PaperStackDemoViewController.h + + + + + YES + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSError.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSFileManager.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueCoding.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueObserving.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyedArchiver.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSNetServices.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSObject.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSPort.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSRunLoop.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSStream.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSThread.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURL.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURLConnection.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSXMLParser.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIAccessibility.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UINibLoading.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIResponder.h + + + + UIResponder + NSObject + + + + UISearchBar + UIView + + IBFrameworkSource + UIKit.framework/Headers/UISearchBar.h + + + + UISearchDisplayController + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UISearchDisplayController.h + + + + UIView + + IBFrameworkSource + UIKit.framework/Headers/UITextField.h + + + + UIView + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIView.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UINavigationController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UIPopoverController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UISplitViewController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UITabBarController.h + + + + UIViewController + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIViewController.h + + + + + 0 + IBIPadFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + PaperStackDemo.xcodeproj + 3 + 82 + + diff --git a/PaperStackDemo/main.m b/PaperStackDemo/main.m new file mode 100644 index 0000000..d5cc38e --- /dev/null +++ b/PaperStackDemo/main.m @@ -0,0 +1,17 @@ +// +// main.m +// PaperStackDemo +// +// Created by Lorenzo Manfredi on 24/05/11. +// Copyright 2011 Mutado. All rights reserved. +// + +#import + +int main(int argc, char *argv[]) +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + int retVal = UIApplicationMain(argc, argv, nil, nil); + [pool release]; + return retVal; +}