Permalink
Browse files

Demo Project

  • Loading branch information...
1 parent 08169e5 commit e15644039c34781d06ba1c7667a1ad6e9df07c0f @dunkelstern committed Sep 20, 2012
@@ -0,0 +1,306 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 4233602A160BB7B200A44FCC /* demo.png in Resources */ = {isa = PBXBuildFile; fileRef = 42336028160BB7B200A44FCC /* demo.png */; };
+ 4233602B160BB7B200A44FCC /* demo@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 42336029160BB7B200A44FCC /* demo@2x.png */; };
+ 8FB9C9BA160B69E400FAC8A2 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8FB9C9B9160B69E400FAC8A2 /* AudioToolbox.framework */; };
+ 8FDECD00160B0BA5003A7923 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8FDECCFF160B0BA5003A7923 /* UIKit.framework */; };
+ 8FDECD02160B0BA5003A7923 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8FDECD01160B0BA5003A7923 /* Foundation.framework */; };
+ 8FDECD04160B0BA5003A7923 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8FDECD03160B0BA5003A7923 /* CoreGraphics.framework */; };
+ 8FDECD0A160B0BA5003A7923 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8FDECD08160B0BA5003A7923 /* InfoPlist.strings */; };
+ 8FDECD0C160B0BA5003A7923 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 8FDECD0B160B0BA5003A7923 /* main.m */; };
+ 8FDECD10160B0BA5003A7923 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8FDECD0F160B0BA5003A7923 /* AppDelegate.m */; };
+ 8FDECD13160B0BA5003A7923 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8FDECD12160B0BA5003A7923 /* ViewController.m */; };
+ 8FDECD22160B0BEA003A7923 /* DSTPickerView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8FDECD21160B0BEA003A7923 /* DSTPickerView.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 42336028160BB7B200A44FCC /* demo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = demo.png; sourceTree = "<group>"; };
+ 42336029160BB7B200A44FCC /* demo@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "demo@2x.png"; sourceTree = "<group>"; };
+ 8FB9C9B9160B69E400FAC8A2 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
+ 8FDECCFB160B0BA5003A7923 /* custompicker.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = custompicker.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 8FDECCFF160B0BA5003A7923 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ 8FDECD01160B0BA5003A7923 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ 8FDECD03160B0BA5003A7923 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ 8FDECD07160B0BA5003A7923 /* custompicker-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "custompicker-Info.plist"; sourceTree = "<group>"; };
+ 8FDECD09160B0BA5003A7923 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 8FDECD0B160B0BA5003A7923 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ 8FDECD0D160B0BA5003A7923 /* custompicker-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "custompicker-Prefix.pch"; sourceTree = "<group>"; };
+ 8FDECD0E160B0BA5003A7923 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
+ 8FDECD0F160B0BA5003A7923 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ 8FDECD11160B0BA5003A7923 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
+ 8FDECD12160B0BA5003A7923 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
+ 8FDECD20160B0BEA003A7923 /* DSTPickerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DSTPickerView.h; path = picker/DSTPickerView.h; sourceTree = "<group>"; };
+ 8FDECD21160B0BEA003A7923 /* DSTPickerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DSTPickerView.m; path = picker/DSTPickerView.m; sourceTree = "<group>"; };
+ 8FDECD23160B1A3D003A7923 /* Xcode44.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Xcode44.h; sourceTree = SOURCE_ROOT; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 8FDECCF8160B0BA5003A7923 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8FB9C9BA160B69E400FAC8A2 /* AudioToolbox.framework in Frameworks */,
+ 8FDECD00160B0BA5003A7923 /* UIKit.framework in Frameworks */,
+ 8FDECD02160B0BA5003A7923 /* Foundation.framework in Frameworks */,
+ 8FDECD04160B0BA5003A7923 /* CoreGraphics.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 8FDECCF0160B0BA5003A7923 = {
+ isa = PBXGroup;
+ children = (
+ 8FDECD1F160B0BCF003A7923 /* picker */,
+ 8FDECD05160B0BA5003A7923 /* Demo */,
+ 8FDECCFE160B0BA5003A7923 /* Frameworks */,
+ 8FDECCFC160B0BA5003A7923 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ 8FDECCFC160B0BA5003A7923 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 8FDECCFB160B0BA5003A7923 /* custompicker.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 8FDECCFE160B0BA5003A7923 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 8FB9C9B9160B69E400FAC8A2 /* AudioToolbox.framework */,
+ 8FDECCFF160B0BA5003A7923 /* UIKit.framework */,
+ 8FDECD01160B0BA5003A7923 /* Foundation.framework */,
+ 8FDECD03160B0BA5003A7923 /* CoreGraphics.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ 8FDECD05160B0BA5003A7923 /* Demo */ = {
+ isa = PBXGroup;
+ children = (
+ 8FDECD23160B1A3D003A7923 /* Xcode44.h */,
+ 8FDECD0E160B0BA5003A7923 /* AppDelegate.h */,
+ 8FDECD0F160B0BA5003A7923 /* AppDelegate.m */,
+ 8FDECD11160B0BA5003A7923 /* ViewController.h */,
+ 8FDECD12160B0BA5003A7923 /* ViewController.m */,
+ 42336028160BB7B200A44FCC /* demo.png */,
+ 42336029160BB7B200A44FCC /* demo@2x.png */,
+ 8FDECD06160B0BA5003A7923 /* Supporting Files */,
+ );
+ name = Demo;
+ path = custompicker;
+ sourceTree = "<group>";
+ };
+ 8FDECD06160B0BA5003A7923 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 8FDECD07160B0BA5003A7923 /* custompicker-Info.plist */,
+ 8FDECD08160B0BA5003A7923 /* InfoPlist.strings */,
+ 8FDECD0B160B0BA5003A7923 /* main.m */,
+ 8FDECD0D160B0BA5003A7923 /* custompicker-Prefix.pch */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ 8FDECD1F160B0BCF003A7923 /* picker */ = {
+ isa = PBXGroup;
+ children = (
+ 8FDECD20160B0BEA003A7923 /* DSTPickerView.h */,
+ 8FDECD21160B0BEA003A7923 /* DSTPickerView.m */,
+ );
+ name = picker;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 8FDECCFA160B0BA5003A7923 /* custompicker */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 8FDECD1C160B0BA6003A7923 /* Build configuration list for PBXNativeTarget "custompicker" */;
+ buildPhases = (
+ 8FDECCF7160B0BA5003A7923 /* Sources */,
+ 8FDECCF8160B0BA5003A7923 /* Frameworks */,
+ 8FDECCF9160B0BA5003A7923 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = custompicker;
+ productName = custompicker;
+ productReference = 8FDECCFB160B0BA5003A7923 /* custompicker.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 8FDECCF2160B0BA5003A7923 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0440;
+ ORGANIZATIONNAME = "Johannes Schriewer";
+ };
+ buildConfigurationList = 8FDECCF5160B0BA5003A7923 /* Build configuration list for PBXProject "custompicker" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = 8FDECCF0160B0BA5003A7923;
+ productRefGroup = 8FDECCFC160B0BA5003A7923 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 8FDECCFA160B0BA5003A7923 /* custompicker */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 8FDECCF9160B0BA5003A7923 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8FDECD0A160B0BA5003A7923 /* InfoPlist.strings in Resources */,
+ 4233602A160BB7B200A44FCC /* demo.png in Resources */,
+ 4233602B160BB7B200A44FCC /* demo@2x.png in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 8FDECCF7160B0BA5003A7923 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8FDECD0C160B0BA5003A7923 /* main.m in Sources */,
+ 8FDECD10160B0BA5003A7923 /* AppDelegate.m in Sources */,
+ 8FDECD13160B0BA5003A7923 /* ViewController.m in Sources */,
+ 8FDECD22160B0BEA003A7923 /* DSTPickerView.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 8FDECD08160B0BA5003A7923 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 8FDECD09160B0BA5003A7923 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 8FDECD1A160B0BA6003A7923 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "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_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 5.1;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 8FDECD1B160B0BA6003A7923 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "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_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 5.1;
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 8FDECD1D160B0BA6003A7923 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "custompicker/custompicker-Prefix.pch";
+ INFOPLIST_FILE = "custompicker/custompicker-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ 8FDECD1E160B0BA6003A7923 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "custompicker/custompicker-Prefix.pch";
+ INFOPLIST_FILE = "custompicker/custompicker-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 8FDECCF5160B0BA5003A7923 /* Build configuration list for PBXProject "custompicker" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 8FDECD1A160B0BA6003A7923 /* Debug */,
+ 8FDECD1B160B0BA6003A7923 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 8FDECD1C160B0BA6003A7923 /* Build configuration list for PBXNativeTarget "custompicker" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 8FDECD1D160B0BA6003A7923 /* Debug */,
+ 8FDECD1E160B0BA6003A7923 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 8FDECCF2160B0BA5003A7923 /* Project object */;
+}
View
@@ -0,0 +1,19 @@
+//
+// AppDelegate.h
+// custompicker
+//
+// Created by Johannes Schriewer on 20.09.2012.
+// Copyright (c) 2012 Johannes Schriewer. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@class ViewController;
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+@property (strong, nonatomic) ViewController *viewController;
+
+@end
View
@@ -0,0 +1,52 @@
+//
+// AppDelegate.m
+// custompicker
+//
+// Created by Johannes Schriewer on 20.09.2012.
+// Copyright (c) 2012 Johannes Schriewer. All rights reserved.
+//
+
+#import "AppDelegate.h"
+
+#import "ViewController.h"
+
+@implementation AppDelegate
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+ // Override point for customization after application launch.
+ self.viewController = [[ViewController alloc] init];
+ 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:.
+}
+
+@end
@@ -0,0 +1,13 @@
+//
+// ViewController.h
+// custompicker
+//
+// Created by Johannes Schriewer on 20.09.2012.
+// Copyright (c) 2012 Johannes Schriewer. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface ViewController : UIViewController
+
+@end
Oops, something went wrong.

0 comments on commit e156440

Please sign in to comment.