Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit a7a28bca5e36ed1253f445542715165c2b868a8a @kgn committed Oct 26, 2012
@@ -0,0 +1,9 @@
+xcuserdata
+.DS_Store
+html
+appledoc
+*.pyc
+user.*.espressostorage
+Sparkle/*.app
+*.zip
+PXListView
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,15 @@
+//
+// KGAppDelegate.h
+// KGDiscreteAlertViewExample
+//
+// Created by David Keegan on 10/24/12.
+// Copyright (c) 2012 David Keegan. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface KGAppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+@end
@@ -0,0 +1,25 @@
+//
+// KGAppDelegate.m
+// KGDiscreteAlertViewExample
+//
+// Created by David Keegan on 10/24/12.
+// Copyright (c) 2012 David Keegan. All rights reserved.
+//
+
+#import "KGAppDelegate.h"
+#import "KGDiscreteAlertView.h"
+#import "KGViewController.h"
+
+@implementation KGAppDelegate
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+
+ KGViewController *viewController = [[KGViewController alloc] initWithNibName:nil bundle:nil];
+ self.window.rootViewController = viewController;
+
+ [self.window makeKeyAndVisible];
+ return YES;
+}
+
+@end
@@ -0,0 +1,38 @@
+<?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>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.davidkeegan.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>armv7</string>
+ </array>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
@@ -0,0 +1,272 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 7308BB9D1638BFB600C8DCDE /* KGDiscreteAlertView.m in Sources */ = {isa = PBXBuildFile; fileRef = 7308BB9C1638BFB600C8DCDE /* KGDiscreteAlertView.m */; };
+ 737C8D4B1638BED10066F127 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 737C8D4A1638BED10066F127 /* UIKit.framework */; };
+ 737C8D4D1638BED10066F127 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 737C8D4C1638BED10066F127 /* Foundation.framework */; };
+ 737C8D4F1638BED10066F127 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 737C8D4E1638BED10066F127 /* CoreGraphics.framework */; };
+ 73A8F7DA163B05C300C35E58 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 73A8F7D0163B05C300C35E58 /* Default-568h@2x.png */; };
+ 73A8F7DB163B05C300C35E58 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 73A8F7D1163B05C300C35E58 /* Default.png */; };
+ 73A8F7DC163B05C300C35E58 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 73A8F7D2163B05C300C35E58 /* Default@2x.png */; };
+ 73A8F7DD163B05C300C35E58 /* KGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 73A8F7D4163B05C300C35E58 /* KGAppDelegate.m */; };
+ 73A8F7DF163B05C300C35E58 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 73A8F7D9163B05C300C35E58 /* main.m */; };
+ 73A8F7E8163B084D00C35E58 /* KGViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 73A8F7E6163B084D00C35E58 /* KGViewController.m */; };
+ 73A8F7E9163B084D00C35E58 /* KGViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 73A8F7E7163B084D00C35E58 /* KGViewController.xib */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 7308BB9B1638BFB600C8DCDE /* KGDiscreteAlertView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = KGDiscreteAlertView.h; path = ../KGDiscreteAlertView.h; sourceTree = "<group>"; };
+ 7308BB9C1638BFB600C8DCDE /* KGDiscreteAlertView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = KGDiscreteAlertView.m; path = ../KGDiscreteAlertView.m; sourceTree = "<group>"; };
+ 737C8D461638BED10066F127 /* KGDiscreteAlertViewExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KGDiscreteAlertViewExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 737C8D4A1638BED10066F127 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ 737C8D4C1638BED10066F127 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ 737C8D4E1638BED10066F127 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ 73A8F7D0163B05C300C35E58 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
+ 73A8F7D1163B05C300C35E58 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
+ 73A8F7D2163B05C300C35E58 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
+ 73A8F7D3163B05C300C35E58 /* KGAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KGAppDelegate.h; sourceTree = "<group>"; };
+ 73A8F7D4163B05C300C35E58 /* KGAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KGAppDelegate.m; sourceTree = "<group>"; };
+ 73A8F7D9163B05C300C35E58 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ 73A8F7E5163B084D00C35E58 /* KGViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KGViewController.h; sourceTree = "<group>"; };
+ 73A8F7E6163B084D00C35E58 /* KGViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KGViewController.m; sourceTree = "<group>"; };
+ 73A8F7E7163B084D00C35E58 /* KGViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KGViewController.xib; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 737C8D431638BED10066F127 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 737C8D4B1638BED10066F127 /* UIKit.framework in Frameworks */,
+ 737C8D4D1638BED10066F127 /* Foundation.framework in Frameworks */,
+ 737C8D4F1638BED10066F127 /* CoreGraphics.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 737C8D3B1638BED10066F127 = {
+ isa = PBXGroup;
+ children = (
+ 7308BB9B1638BFB600C8DCDE /* KGDiscreteAlertView.h */,
+ 7308BB9C1638BFB600C8DCDE /* KGDiscreteAlertView.m */,
+ 73A8F7CF163B05C300C35E58 /* KGDiscreteAlertViewExample */,
+ 737C8D491638BED10066F127 /* Frameworks */,
+ 737C8D471638BED10066F127 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ 737C8D471638BED10066F127 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 737C8D461638BED10066F127 /* KGDiscreteAlertViewExample.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 737C8D491638BED10066F127 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 737C8D4A1638BED10066F127 /* UIKit.framework */,
+ 737C8D4C1638BED10066F127 /* Foundation.framework */,
+ 737C8D4E1638BED10066F127 /* CoreGraphics.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ 73A8F7CF163B05C300C35E58 /* KGDiscreteAlertViewExample */ = {
+ isa = PBXGroup;
+ children = (
+ 73A8F7D9163B05C300C35E58 /* main.m */,
+ 73A8F7D3163B05C300C35E58 /* KGAppDelegate.h */,
+ 73A8F7D4163B05C300C35E58 /* KGAppDelegate.m */,
+ 73A8F7E5163B084D00C35E58 /* KGViewController.h */,
+ 73A8F7E6163B084D00C35E58 /* KGViewController.m */,
+ 73A8F7E7163B084D00C35E58 /* KGViewController.xib */,
+ 73A8F7D0163B05C300C35E58 /* Default-568h@2x.png */,
+ 73A8F7D1163B05C300C35E58 /* Default.png */,
+ 73A8F7D2163B05C300C35E58 /* Default@2x.png */,
+ );
+ name = KGDiscreteAlertViewExample;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 737C8D451638BED10066F127 /* KGDiscreteAlertViewExample */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 737C8D641638BED10066F127 /* Build configuration list for PBXNativeTarget "KGDiscreteAlertViewExample" */;
+ buildPhases = (
+ 737C8D421638BED10066F127 /* Sources */,
+ 737C8D431638BED10066F127 /* Frameworks */,
+ 737C8D441638BED10066F127 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = KGDiscreteAlertViewExample;
+ productName = KGDiscreteAlertViewExample;
+ productReference = 737C8D461638BED10066F127 /* KGDiscreteAlertViewExample.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 737C8D3D1638BED10066F127 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ CLASSPREFIX = KG;
+ LastUpgradeCheck = 0450;
+ ORGANIZATIONNAME = "David Keegan";
+ };
+ buildConfigurationList = 737C8D401638BED10066F127 /* Build configuration list for PBXProject "KGDiscreteAlertViewExample" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = 737C8D3B1638BED10066F127;
+ productRefGroup = 737C8D471638BED10066F127 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 737C8D451638BED10066F127 /* KGDiscreteAlertViewExample */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 737C8D441638BED10066F127 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 73A8F7DA163B05C300C35E58 /* Default-568h@2x.png in Resources */,
+ 73A8F7DB163B05C300C35E58 /* Default.png in Resources */,
+ 73A8F7DC163B05C300C35E58 /* Default@2x.png in Resources */,
+ 73A8F7E9163B084D00C35E58 /* KGViewController.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 737C8D421638BED10066F127 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 7308BB9D1638BFB600C8DCDE /* KGDiscreteAlertView.m in Sources */,
+ 73A8F7DD163B05C300C35E58 /* KGAppDelegate.m in Sources */,
+ 73A8F7DF163B05C300C35E58 /* main.m in Sources */,
+ 73A8F7E8163B084D00C35E58 /* KGViewController.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 737C8D621638BED10066F127 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_EMPTY_BODY = 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_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 6.0;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ };
+ name = Debug;
+ };
+ 737C8D631638BED10066F127 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 6.0;
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ SDKROOT = iphoneos;
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 737C8D651638BED10066F127 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ INFOPLIST_FILE = "KGDiscreteAlertViewExample-Info.plist";
+ IPHONEOS_DEPLOYMENT_TARGET = 5.0;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TARGETED_DEVICE_FAMILY = "1,2";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ 737C8D661638BED10066F127 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ INFOPLIST_FILE = "KGDiscreteAlertViewExample-Info.plist";
+ IPHONEOS_DEPLOYMENT_TARGET = 5.0;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TARGETED_DEVICE_FAMILY = "1,2";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 737C8D401638BED10066F127 /* Build configuration list for PBXProject "KGDiscreteAlertViewExample" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 737C8D621638BED10066F127 /* Debug */,
+ 737C8D631638BED10066F127 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 737C8D641638BED10066F127 /* Build configuration list for PBXNativeTarget "KGDiscreteAlertViewExample" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 737C8D651638BED10066F127 /* Debug */,
+ 737C8D661638BED10066F127 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 737C8D3D1638BED10066F127 /* Project object */;
+}
Oops, something went wrong.
@@ -0,0 +1,15 @@
+//
+// KGViewController.h
+// KGDiscreteAlertViewExample
+//
+// Created by David Keegan on 10/26/12.
+// Copyright (c) 2012 David Keegan. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface KGViewController : UIViewController
+- (IBAction)alert1:(id)sender;
+- (IBAction)alert2:(id)sender;
+- (IBAction)alert3:(id)sender;
+@end
Oops, something went wrong.

0 comments on commit a7a28bc

Please sign in to comment.