Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrestrepo committed Sep 2, 2012
0 parents commit d71b5ed
Show file tree
Hide file tree
Showing 7 changed files with 408 additions and 0 deletions.
266 changes: 266 additions & 0 deletions KZColorPicker.xcodeproj/project.pbxproj
@@ -0,0 +1,266 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
FA4CE6F915F2E99000544934 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4CE6F815F2E99000544934 /* UIKit.framework */; };
FA4CE6FB15F2E99000544934 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4CE6FA15F2E99000544934 /* Foundation.framework */; };
FA4CE6FD15F2E99000544934 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA4CE6FC15F2E99000544934 /* CoreGraphics.framework */; };
FA4CE70315F2E99000544934 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = FA4CE70115F2E99000544934 /* InfoPlist.strings */; };
FA4CE70515F2E99000544934 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = FA4CE70415F2E99000544934 /* main.m */; };
FA4CE70915F2E99000544934 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = FA4CE70815F2E99000544934 /* AppDelegate.m */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
FA4CE6F415F2E99000544934 /* KZColorPicker.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KZColorPicker.app; sourceTree = BUILT_PRODUCTS_DIR; };
FA4CE6F815F2E99000544934 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
FA4CE6FA15F2E99000544934 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
FA4CE6FC15F2E99000544934 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
FA4CE70015F2E99000544934 /* KZColorPicker-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "KZColorPicker-Info.plist"; sourceTree = "<group>"; };
FA4CE70215F2E99000544934 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
FA4CE70415F2E99000544934 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
FA4CE70615F2E99000544934 /* KZColorPicker-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "KZColorPicker-Prefix.pch"; sourceTree = "<group>"; };
FA4CE70715F2E99000544934 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
FA4CE70815F2E99000544934 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
FA4CE6F115F2E99000544934 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
FA4CE6F915F2E99000544934 /* UIKit.framework in Frameworks */,
FA4CE6FB15F2E99000544934 /* Foundation.framework in Frameworks */,
FA4CE6FD15F2E99000544934 /* CoreGraphics.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
FA4CE6E915F2E99000544934 = {
isa = PBXGroup;
children = (
FA4CE6FE15F2E99000544934 /* KZColorPicker */,
FA4CE6F715F2E99000544934 /* Frameworks */,
FA4CE6F515F2E99000544934 /* Products */,
);
sourceTree = "<group>";
};
FA4CE6F515F2E99000544934 /* Products */ = {
isa = PBXGroup;
children = (
FA4CE6F415F2E99000544934 /* KZColorPicker.app */,
);
name = Products;
sourceTree = "<group>";
};
FA4CE6F715F2E99000544934 /* Frameworks */ = {
isa = PBXGroup;
children = (
FA4CE6F815F2E99000544934 /* UIKit.framework */,
FA4CE6FA15F2E99000544934 /* Foundation.framework */,
FA4CE6FC15F2E99000544934 /* CoreGraphics.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
FA4CE6FE15F2E99000544934 /* KZColorPicker */ = {
isa = PBXGroup;
children = (
FA4CE70715F2E99000544934 /* AppDelegate.h */,
FA4CE70815F2E99000544934 /* AppDelegate.m */,
FA4CE6FF15F2E99000544934 /* Supporting Files */,
);
path = KZColorPicker;
sourceTree = "<group>";
};
FA4CE6FF15F2E99000544934 /* Supporting Files */ = {
isa = PBXGroup;
children = (
FA4CE70015F2E99000544934 /* KZColorPicker-Info.plist */,
FA4CE70115F2E99000544934 /* InfoPlist.strings */,
FA4CE70415F2E99000544934 /* main.m */,
FA4CE70615F2E99000544934 /* KZColorPicker-Prefix.pch */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
FA4CE6F315F2E99000544934 /* KZColorPicker */ = {
isa = PBXNativeTarget;
buildConfigurationList = FA4CE70C15F2E99000544934 /* Build configuration list for PBXNativeTarget "KZColorPicker" */;
buildPhases = (
FA4CE6F015F2E99000544934 /* Sources */,
FA4CE6F115F2E99000544934 /* Frameworks */,
FA4CE6F215F2E99000544934 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = KZColorPicker;
productName = KZColorPicker;
productReference = FA4CE6F415F2E99000544934 /* KZColorPicker.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
FA4CE6EB15F2E99000544934 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0440;
ORGANIZATIONNAME = "Alex Restrepo";
};
buildConfigurationList = FA4CE6EE15F2E99000544934 /* Build configuration list for PBXProject "KZColorPicker" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = FA4CE6E915F2E99000544934;
productRefGroup = FA4CE6F515F2E99000544934 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
FA4CE6F315F2E99000544934 /* KZColorPicker */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
FA4CE6F215F2E99000544934 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
FA4CE70315F2E99000544934 /* InfoPlist.strings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
FA4CE6F015F2E99000544934 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
FA4CE70515F2E99000544934 /* main.m in Sources */,
FA4CE70915F2E99000544934 /* AppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
FA4CE70115F2E99000544934 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
FA4CE70215F2E99000544934 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
FA4CE70A15F2E99000544934 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
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;
};
name = Debug;
};
FA4CE70B15F2E99000544934 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
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;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
FA4CE70D15F2E99000544934 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "KZColorPicker/KZColorPicker-Prefix.pch";
INFOPLIST_FILE = "KZColorPicker/KZColorPicker-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Debug;
};
FA4CE70E15F2E99000544934 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "KZColorPicker/KZColorPicker-Prefix.pch";
INFOPLIST_FILE = "KZColorPicker/KZColorPicker-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
FA4CE6EE15F2E99000544934 /* Build configuration list for PBXProject "KZColorPicker" */ = {
isa = XCConfigurationList;
buildConfigurations = (
FA4CE70A15F2E99000544934 /* Debug */,
FA4CE70B15F2E99000544934 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
FA4CE70C15F2E99000544934 /* Build configuration list for PBXNativeTarget "KZColorPicker" */ = {
isa = XCConfigurationList;
buildConfigurations = (
FA4CE70D15F2E99000544934 /* Debug */,
FA4CE70E15F2E99000544934 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = FA4CE6EB15F2E99000544934 /* Project object */;
}
15 changes: 15 additions & 0 deletions KZColorPicker/AppDelegate.h
@@ -0,0 +1,15 @@
//
// AppDelegate.h
// KZColorPicker
//
// Created by Alex Restrepo on 9/1/12.
// Copyright (c) 2012 Alex Restrepo. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@end
55 changes: 55 additions & 0 deletions KZColorPicker/AppDelegate.m
@@ -0,0 +1,55 @@
//
// AppDelegate.m
// KZColorPicker
//
// Created by Alex Restrepo on 9/1/12.
// Copyright (c) 2012 Alex Restrepo. All rights reserved.
//

#import "AppDelegate.h"

@implementation AppDelegate

- (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
38 changes: 38 additions & 0 deletions KZColorPicker/KZColorPicker-Info.plist
@@ -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>KZLabs.${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>
14 changes: 14 additions & 0 deletions KZColorPicker/KZColorPicker-Prefix.pch
@@ -0,0 +1,14 @@
//
// Prefix header for all source files of the 'KZColorPicker' target in the 'KZColorPicker' project
//

#import <Availability.h>

#ifndef __IPHONE_3_0
#warning "This project uses features only available in iOS SDK 3.0 and later."
#endif

#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#endif
2 changes: 2 additions & 0 deletions KZColorPicker/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
/* Localized versions of Info.plist keys */

0 comments on commit d71b5ed

Please sign in to comment.