Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial Commit

  • Loading branch information...
commit a563c4ad850e6d48356f9ce3515897cd2308e15d 0 parents
@a2 a2 authored
18 .gitignore
@@ -0,0 +1,18 @@
+# OS X Finder
+.DS_Store
+
+# Xcode
+build/*
+*.pbxuser
+!default.pbxuser
+*.mode1v3
+!default.mode1v3
+*.mode2v3
+!default.mode2v3
+*.perspectivev3
+!default.perspectivev3
+*.xcworkspace
+!default.xcworkspace
+xcuserdata
+profile
+*.moved-aside
268 A2DynamicDelegate.xcodeproj/project.pbxproj
@@ -0,0 +1,268 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 0051A0441481BE160089CC41 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0051A0431481BE160089CC41 /* UIKit.framework */; };
+ 0051A0461481BE160089CC41 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0051A0451481BE160089CC41 /* Foundation.framework */; };
+ 0051A0481481BE160089CC41 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0051A0471481BE160089CC41 /* CoreGraphics.framework */; };
+ 0051A04E1481BE160089CC41 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0051A04C1481BE160089CC41 /* InfoPlist.strings */; };
+ 0051A0501481BE160089CC41 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 0051A04F1481BE160089CC41 /* main.m */; };
+ 0051A0541481BE160089CC41 /* DDAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 0051A0531481BE160089CC41 /* DDAppDelegate.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 0051A03F1481BE160089CC41 /* A2DD Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "A2DD Demo.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 0051A0431481BE160089CC41 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ 0051A0451481BE160089CC41 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ 0051A0471481BE160089CC41 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ 0051A04B1481BE160089CC41 /* Demo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Demo-Info.plist"; sourceTree = "<group>"; };
+ 0051A04D1481BE160089CC41 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 0051A04F1481BE160089CC41 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ 0051A0511481BE160089CC41 /* Demo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Demo-Prefix.pch"; sourceTree = "<group>"; };
+ 0051A0521481BE160089CC41 /* DDAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DDAppDelegate.h; sourceTree = "<group>"; };
+ 0051A0531481BE160089CC41 /* DDAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DDAppDelegate.m; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 0051A03C1481BE160089CC41 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 0051A0481481BE160089CC41 /* CoreGraphics.framework in Frameworks */,
+ 0051A0461481BE160089CC41 /* Foundation.framework in Frameworks */,
+ 0051A0441481BE160089CC41 /* UIKit.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 0051A0341481BE160089CC41 = {
+ isa = PBXGroup;
+ children = (
+ 0051A0491481BE160089CC41 /* A2DynamicDelegate */,
+ 0051A0421481BE160089CC41 /* Frameworks */,
+ 0051A0401481BE160089CC41 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ 0051A0401481BE160089CC41 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 0051A03F1481BE160089CC41 /* A2DD Demo.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 0051A0421481BE160089CC41 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 0051A0471481BE160089CC41 /* CoreGraphics.framework */,
+ 0051A0451481BE160089CC41 /* Foundation.framework */,
+ 0051A0431481BE160089CC41 /* UIKit.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ 0051A0491481BE160089CC41 /* A2DynamicDelegate */ = {
+ isa = PBXGroup;
+ children = (
+ 0051A0521481BE160089CC41 /* DDAppDelegate.h */,
+ 0051A0531481BE160089CC41 /* DDAppDelegate.m */,
+ 0051A04A1481BE160089CC41 /* Supporting Files */,
+ );
+ name = A2DynamicDelegate;
+ path = Demo;
+ sourceTree = "<group>";
+ };
+ 0051A04A1481BE160089CC41 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 0051A04B1481BE160089CC41 /* Demo-Info.plist */,
+ 0051A0511481BE160089CC41 /* Demo-Prefix.pch */,
+ 0051A04C1481BE160089CC41 /* InfoPlist.strings */,
+ 0051A04F1481BE160089CC41 /* main.m */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 0051A03E1481BE160089CC41 /* A2DD Demo */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 0051A0571481BE160089CC41 /* Build configuration list for PBXNativeTarget "A2DD Demo" */;
+ buildPhases = (
+ 0051A03B1481BE160089CC41 /* Sources */,
+ 0051A03C1481BE160089CC41 /* Frameworks */,
+ 0051A03D1481BE160089CC41 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "A2DD Demo";
+ productName = DynamicDelegate;
+ productReference = 0051A03F1481BE160089CC41 /* A2DD Demo.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 0051A0361481BE160089CC41 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ ORGANIZATIONNAME = "Pandamonia LLC";
+ };
+ buildConfigurationList = 0051A0391481BE160089CC41 /* Build configuration list for PBXProject "A2DynamicDelegate" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = 0051A0341481BE160089CC41;
+ productRefGroup = 0051A0401481BE160089CC41 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 0051A03E1481BE160089CC41 /* A2DD Demo */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 0051A03D1481BE160089CC41 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 0051A04E1481BE160089CC41 /* InfoPlist.strings in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 0051A03B1481BE160089CC41 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 0051A0501481BE160089CC41 /* main.m in Sources */,
+ 0051A0541481BE160089CC41 /* DDAppDelegate.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 0051A04C1481BE160089CC41 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 0051A04D1481BE160089CC41 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 0051A0551481BE160089CC41 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ CLANG_ENABLE_OBJC_ARC = 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_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;
+ };
+ 0051A0561481BE160089CC41 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ CLANG_ENABLE_OBJC_ARC = 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_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;
+ };
+ 0051A0581481BE160089CC41 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "Demo/Demo-Prefix.pch";
+ INFOPLIST_FILE = "Demo/Demo-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ 0051A0591481BE160089CC41 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "Demo/Demo-Prefix.pch";
+ INFOPLIST_FILE = "Demo/Demo-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 0051A0391481BE160089CC41 /* Build configuration list for PBXProject "A2DynamicDelegate" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 0051A0551481BE160089CC41 /* Debug */,
+ 0051A0561481BE160089CC41 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 0051A0571481BE160089CC41 /* Build configuration list for PBXNativeTarget "A2DD Demo" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 0051A0581481BE160089CC41 /* Debug */,
+ 0051A0591481BE160089CC41 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 0051A0361481BE160089CC41 /* Project object */;
+}
14 A2DynamicDelegate.xcodeproj/xcshareddata/xcdebugger/Breakpoints.xcbkptlist
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Bucket
+ type = "4"
+ version = "1.0">
+ <ExceptionBreakpoints>
+ <ExceptionBreakpoint
+ shouldBeEnabled = "Yes"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ scope = "0"
+ stopOnStyle = "0">
+ </ExceptionBreakpoint>
+ </ExceptionBreakpoints>
+</Bucket>
84 A2DynamicDelegate.xcodeproj/xcshareddata/xcschemes/A2DD Demo.xcscheme
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "0051A03E1481BE160089CC41"
+ BuildableName = "A2DD Demo.app"
+ BlueprintName = "A2DD Demo"
+ ReferencedContainer = "container:A2DynamicDelegate.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "0051A03E1481BE160089CC41"
+ BuildableName = "A2DD Demo.app"
+ BlueprintName = "A2DD Demo"
+ ReferencedContainer = "container:A2DynamicDelegate.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "0051A03E1481BE160089CC41"
+ BuildableName = "A2DD Demo.app"
+ BlueprintName = "A2DD Demo"
+ ReferencedContainer = "container:A2DynamicDelegate.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "0051A03E1481BE160089CC41"
+ BuildableName = "A2DD Demo.app"
+ BlueprintName = "A2DD Demo"
+ ReferencedContainer = "container:A2DynamicDelegate.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
15 Demo/DDAppDelegate.h
@@ -0,0 +1,15 @@
+//
+// DDAppDelegate.h
+// DynamicDelegate
+//
+// Created by Alexsander Akers on 11/26/11.
+// Copyright (c) 2011 Pandamonia LLC. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface DDAppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+@end
24 Demo/DDAppDelegate.m
@@ -0,0 +1,24 @@
+//
+// DDAppDelegate.m
+// DynamicDelegate
+//
+// Created by Alexsander Akers on 11/26/11.
+// Copyright (c) 2011 Pandamonia LLC. All rights reserved.
+//
+
+#import "DDAppDelegate.h"
+
+@implementation DDAppDelegate
+
+@synthesize window = _window;
+
+- (BOOL) application: (UIApplication *) application didFinishLaunchingWithOptions: (NSDictionary *) launchOptions
+{
+ self.window = [[UIWindow alloc] initWithFrame: [[UIScreen mainScreen] bounds]];
+ // Override point for customization after application launch.
+ self.window.backgroundColor = [UIColor whiteColor];
+ [self.window makeKeyAndVisible];
+ return YES;
+}
+
+@end
47 Demo/Demo-Info.plist
@@ -0,0 +1,47 @@
+<?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>CFBundleIconFiles</key>
+ <array/>
+ <key>CFBundleIdentifier</key>
+ <string>us.pandamonia.${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>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
14 Demo/Demo-Prefix.pch
@@ -0,0 +1,14 @@
+//
+// Prefix header for all source files of the 'DynamicDelegate' target in the 'DynamicDelegate' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_4_3
+ #warning "This project uses features only available in iOS SDK 4.3 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
2  Demo/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
18 Demo/main.m
@@ -0,0 +1,18 @@
+//
+// main.m
+// DynamicDelegate
+//
+// Created by Alexsander Akers on 11/26/11.
+// Copyright (c) 2011 Pandamonia LLC. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+#import "DDAppDelegate.h"
+
+int main(int argc, char *argv[])
+{
+ @autoreleasepool
+ {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([DDAppDelegate class]));
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.