diff --git a/Empty App.xcodeproj/project.pbxproj b/Empty App.xcodeproj/project.pbxproj new file mode 100644 index 0000000..6d8a826 --- /dev/null +++ b/Empty App.xcodeproj/project.pbxproj @@ -0,0 +1,427 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 27B28FA614314FB800B86F18 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 27B28FA514314FB800B86F18 /* UIKit.framework */; }; + 27B28FA814314FB800B86F18 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 27B28FA714314FB800B86F18 /* Foundation.framework */; }; + 27B28FAA14314FB800B86F18 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 27B28FA914314FB800B86F18 /* CoreGraphics.framework */; }; + 27B28FB014314FB800B86F18 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 27B28FAE14314FB800B86F18 /* InfoPlist.strings */; }; + 27B28FB214314FB800B86F18 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 27B28FB114314FB800B86F18 /* main.m */; }; + 27B28FB614314FB800B86F18 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 27B28FB514314FB800B86F18 /* AppDelegate.m */; }; + 27B28FBE14314FB900B86F18 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 27B28FBD14314FB900B86F18 /* SenTestingKit.framework */; }; + 27B28FBF14314FB900B86F18 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 27B28FA514314FB800B86F18 /* UIKit.framework */; }; + 27B28FC014314FB900B86F18 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 27B28FA714314FB800B86F18 /* Foundation.framework */; }; + 27B28FC814314FB900B86F18 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 27B28FC614314FB900B86F18 /* InfoPlist.strings */; }; + 27B28FCB14314FB900B86F18 /* Empty_AppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 27B28FCA14314FB900B86F18 /* Empty_AppTests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 27B28FC114314FB900B86F18 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 27B28F9814314FB800B86F18 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 27B28FA014314FB800B86F18; + remoteInfo = "Empty App"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 27B28FA114314FB800B86F18 /* Empty App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Empty App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 27B28FA514314FB800B86F18 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 27B28FA714314FB800B86F18 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 27B28FA914314FB800B86F18 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 27B28FAD14314FB800B86F18 /* Empty App-Info.plist */ = {isa = PBXFileReference; path = "Empty App-Info.plist"; sourceTree = ""; }; + 27B28FAF14314FB800B86F18 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 27B28FB114314FB800B86F18 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 27B28FB314314FB800B86F18 /* Empty App-Prefix.pch */ = {isa = PBXFileReference; path = "Empty App-Prefix.pch"; sourceTree = ""; }; + 27B28FB414314FB800B86F18 /* AppDelegate.h */ = {isa = PBXFileReference; path = AppDelegate.h; sourceTree = ""; }; + 27B28FB514314FB800B86F18 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 27B28FBC14314FB900B86F18 /* Empty AppTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Empty AppTests.octest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 27B28FBD14314FB900B86F18 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; + 27B28FC514314FB900B86F18 /* Empty AppTests-Info.plist */ = {isa = PBXFileReference; path = "Empty AppTests-Info.plist"; sourceTree = ""; }; + 27B28FC714314FB900B86F18 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 27B28FC914314FB900B86F18 /* Empty_AppTests.h */ = {isa = PBXFileReference; path = Empty_AppTests.h; sourceTree = ""; }; + 27B28FCA14314FB900B86F18 /* Empty_AppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Empty_AppTests.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 27B28F9E14314FB800B86F18 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 27B28FA614314FB800B86F18 /* UIKit.framework in Frameworks */, + 27B28FA814314FB800B86F18 /* Foundation.framework in Frameworks */, + 27B28FAA14314FB800B86F18 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 27B28FB814314FB800B86F18 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 27B28FBE14314FB900B86F18 /* SenTestingKit.framework in Frameworks */, + 27B28FBF14314FB900B86F18 /* UIKit.framework in Frameworks */, + 27B28FC014314FB900B86F18 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 27B28F9614314FB800B86F18 = { + isa = PBXGroup; + children = ( + 27B28FAB14314FB800B86F18 /* Empty App */, + 27B28FC314314FB900B86F18 /* Empty AppTests */, + 27B28FA414314FB800B86F18 /* Frameworks */, + 27B28FA214314FB800B86F18 /* Products */, + ); + sourceTree = ""; + }; + 27B28FA214314FB800B86F18 /* Products */ = { + isa = PBXGroup; + children = ( + 27B28FA114314FB800B86F18 /* Empty App.app */, + 27B28FBC14314FB900B86F18 /* Empty AppTests.octest */, + ); + name = Products; + sourceTree = ""; + }; + 27B28FA414314FB800B86F18 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 27B28FA514314FB800B86F18 /* UIKit.framework */, + 27B28FA714314FB800B86F18 /* Foundation.framework */, + 27B28FA914314FB800B86F18 /* CoreGraphics.framework */, + 27B28FBD14314FB900B86F18 /* SenTestingKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 27B28FAB14314FB800B86F18 /* Empty App */ = { + isa = PBXGroup; + children = ( + 27B28FB414314FB800B86F18 /* AppDelegate.h */, + 27B28FB514314FB800B86F18 /* AppDelegate.m */, + 27B28FAC14314FB800B86F18 /* Supporting Files */, + ); + path = "Empty App"; + sourceTree = ""; + }; + 27B28FAC14314FB800B86F18 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 27B28FAD14314FB800B86F18 /* Empty App-Info.plist */, + 27B28FAE14314FB800B86F18 /* InfoPlist.strings */, + 27B28FB114314FB800B86F18 /* main.m */, + 27B28FB314314FB800B86F18 /* Empty App-Prefix.pch */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 27B28FC314314FB900B86F18 /* Empty AppTests */ = { + isa = PBXGroup; + children = ( + 27B28FC914314FB900B86F18 /* Empty_AppTests.h */, + 27B28FCA14314FB900B86F18 /* Empty_AppTests.m */, + 27B28FC414314FB900B86F18 /* Supporting Files */, + ); + path = "Empty AppTests"; + sourceTree = ""; + }; + 27B28FC414314FB900B86F18 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 27B28FC514314FB900B86F18 /* Empty AppTests-Info.plist */, + 27B28FC614314FB900B86F18 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 27B28FA014314FB800B86F18 /* Empty App */ = { + isa = PBXNativeTarget; + buildConfigurationList = 27B28FCE14314FB900B86F18 /* Build configuration list for PBXNativeTarget "Empty App" */; + buildPhases = ( + 27B28F9D14314FB800B86F18 /* Sources */, + 27B28F9E14314FB800B86F18 /* Frameworks */, + 27B28F9F14314FB800B86F18 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Empty App"; + productName = "Empty App"; + productReference = 27B28FA114314FB800B86F18 /* Empty App.app */; + productType = "com.apple.product-type.application"; + }; + 27B28FBB14314FB900B86F18 /* Empty AppTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 27B28FD114314FB900B86F18 /* Build configuration list for PBXNativeTarget "Empty AppTests" */; + buildPhases = ( + 27B28FB714314FB800B86F18 /* Sources */, + 27B28FB814314FB800B86F18 /* Frameworks */, + 27B28FB914314FB800B86F18 /* Resources */, + 27B28FBA14314FB800B86F18 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + 27B28FC214314FB900B86F18 /* PBXTargetDependency */, + ); + name = "Empty AppTests"; + productName = "Empty AppTests"; + productReference = 27B28FBC14314FB900B86F18 /* Empty AppTests.octest */; + productType = "com.apple.product-type.bundle"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 27B28F9814314FB800B86F18 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0420; + ORGANIZATIONNAME = "Couchbase, Inc."; + }; + buildConfigurationList = 27B28F9B14314FB800B86F18 /* Build configuration list for PBXProject "Empty App" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 27B28F9614314FB800B86F18; + productRefGroup = 27B28FA214314FB800B86F18 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 27B28FA014314FB800B86F18 /* Empty App */, + 27B28FBB14314FB900B86F18 /* Empty AppTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 27B28F9F14314FB800B86F18 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 27B28FB014314FB800B86F18 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 27B28FB914314FB800B86F18 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 27B28FC814314FB900B86F18 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 27B28FBA14314FB800B86F18 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 27B28F9D14314FB800B86F18 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 27B28FB214314FB800B86F18 /* main.m in Sources */, + 27B28FB614314FB800B86F18 /* AppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 27B28FB714314FB800B86F18 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 27B28FCB14314FB900B86F18 /* Empty_AppTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 27B28FC214314FB900B86F18 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 27B28FA014314FB800B86F18 /* Empty App */; + targetProxy = 27B28FC114314FB900B86F18 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 27B28FAE14314FB800B86F18 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 27B28FAF14314FB800B86F18 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 27B28FC614314FB900B86F18 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 27B28FC714314FB900B86F18 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 27B28FCC14314FB900B86F18 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 27B28FCD14314FB900B86F18 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 27B28FCF14314FB900B86F18 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Empty App/Empty App-Prefix.pch"; + INFOPLIST_FILE = "Empty App/Empty App-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 27B28FD014314FB900B86F18 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Empty App/Empty App-Prefix.pch"; + INFOPLIST_FILE = "Empty App/Empty App-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + 27B28FD214314FB900B86F18 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Empty App.app/Empty App"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(DEVELOPER_LIBRARY_DIR)/Frameworks", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Empty App/Empty App-Prefix.pch"; + INFOPLIST_FILE = "Empty AppTests/Empty AppTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Debug; + }; + 27B28FD314314FB900B86F18 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Empty App.app/Empty App"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(DEVELOPER_LIBRARY_DIR)/Frameworks", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Empty App/Empty App-Prefix.pch"; + INFOPLIST_FILE = "Empty AppTests/Empty AppTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 27B28F9B14314FB800B86F18 /* Build configuration list for PBXProject "Empty App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 27B28FCC14314FB900B86F18 /* Debug */, + 27B28FCD14314FB900B86F18 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 27B28FCE14314FB900B86F18 /* Build configuration list for PBXNativeTarget "Empty App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 27B28FCF14314FB900B86F18 /* Debug */, + 27B28FD014314FB900B86F18 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 27B28FD114314FB900B86F18 /* Build configuration list for PBXNativeTarget "Empty AppTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 27B28FD214314FB900B86F18 /* Debug */, + 27B28FD314314FB900B86F18 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 27B28F9814314FB800B86F18 /* Project object */; +} diff --git a/Empty App/AppDelegate.h b/Empty App/AppDelegate.h new file mode 100644 index 0000000..48d20c1 --- /dev/null +++ b/Empty App/AppDelegate.h @@ -0,0 +1,15 @@ +// +// AppDelegate.h +// Empty App +// +// Created by Jens Alfke on 9/26/11. +// Copyright (c) 2011 Couchbase, Inc. All rights reserved. +// + +#import + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@end diff --git a/Empty App/AppDelegate.m b/Empty App/AppDelegate.m new file mode 100644 index 0000000..2a76c03 --- /dev/null +++ b/Empty App/AppDelegate.m @@ -0,0 +1,69 @@ +// +// AppDelegate.m +// Empty App +// +// Created by Jens Alfke on 9/26/11. +// Copyright (c) 2011 Couchbase, Inc. All rights reserved. +// + +#import "AppDelegate.h" + +@implementation AppDelegate + +@synthesize window = _window; + +- (void)dealloc +{ + [_window release]; + [super dealloc]; +} + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; + // Override point for customization after application launch. + self.window.backgroundColor = [UIColor whiteColor]; + [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:. + */ +} + +@end diff --git a/Empty App/Empty App-Info.plist b/Empty App/Empty App-Info.plist new file mode 100644 index 0000000..c39a0ef --- /dev/null +++ b/Empty App/Empty App-Info.plist @@ -0,0 +1,43 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFiles + + CFBundleIdentifier + com.example.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Empty App/Empty App-Prefix.pch b/Empty App/Empty App-Prefix.pch new file mode 100644 index 0000000..ff0c999 --- /dev/null +++ b/Empty App/Empty App-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'Empty App' target in the 'Empty App' project +// + +#import + +#ifndef __IPHONE_3_0 +#warning "This project uses features only available in iOS SDK 3.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/Empty App/en.lproj/InfoPlist.strings b/Empty App/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Empty App/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Empty App/main.m b/Empty App/main.m new file mode 100644 index 0000000..cdecddc --- /dev/null +++ b/Empty App/main.m @@ -0,0 +1,18 @@ +// +// main.m +// Empty App +// +// Created by Jens Alfke on 9/26/11. +// Copyright (c) 2011 Couchbase, Inc. All rights reserved. +// + +#import + +#import "AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/Empty AppTests/Empty AppTests-Info.plist b/Empty AppTests/Empty AppTests-Info.plist new file mode 100644 index 0000000..790ebfc --- /dev/null +++ b/Empty AppTests/Empty AppTests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.example.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Empty AppTests/Empty_AppTests.h b/Empty AppTests/Empty_AppTests.h new file mode 100644 index 0000000..8a4f215 --- /dev/null +++ b/Empty AppTests/Empty_AppTests.h @@ -0,0 +1,13 @@ +// +// Empty_AppTests.h +// Empty AppTests +// +// Created by Jens Alfke on 9/26/11. +// Copyright (c) 2011 Couchbase, Inc. All rights reserved. +// + +#import + +@interface Empty_AppTests : SenTestCase + +@end diff --git a/Empty AppTests/Empty_AppTests.m b/Empty AppTests/Empty_AppTests.m new file mode 100644 index 0000000..cc1d161 --- /dev/null +++ b/Empty AppTests/Empty_AppTests.m @@ -0,0 +1,32 @@ +// +// Empty_AppTests.m +// Empty AppTests +// +// Created by Jens Alfke on 9/26/11. +// Copyright (c) 2011 Couchbase, Inc. All rights reserved. +// + +#import "Empty_AppTests.h" + +@implementation Empty_AppTests + +- (void)setUp +{ + [super setUp]; + + // Set-up code here. +} + +- (void)tearDown +{ + // Tear-down code here. + + [super tearDown]; +} + +- (void)testExample +{ + STFail(@"Unit tests are not implemented yet in Empty AppTests"); +} + +@end diff --git a/Empty AppTests/en.lproj/InfoPlist.strings b/Empty AppTests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Empty AppTests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ +