commit 5c04c2cb8f9f8cee056a61fc3a1dd32b51dc5011 Author: Cardasis , Jonathan (J.) Date: Thu Aug 11 14:02:26 2016 -0400 Initial Commit diff --git a/JCColorPicker-Demo.xcodeproj/project.pbxproj b/JCColorPicker-Demo.xcodeproj/project.pbxproj new file mode 100644 index 0000000..46ed77f --- /dev/null +++ b/JCColorPicker-Demo.xcodeproj/project.pbxproj @@ -0,0 +1,293 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 35C376D11D5CF5300069D7A1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35C376D01D5CF5300069D7A1 /* AppDelegate.swift */; }; + 35C376D31D5CF5300069D7A1 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35C376D21D5CF5300069D7A1 /* ViewController.swift */; }; + 35C376D61D5CF5300069D7A1 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 35C376D41D5CF5300069D7A1 /* Main.storyboard */; }; + 35C376D81D5CF5300069D7A1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 35C376D71D5CF5300069D7A1 /* Assets.xcassets */; }; + 35C376DB1D5CF5300069D7A1 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 35C376D91D5CF5300069D7A1 /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 35C376CD1D5CF5300069D7A1 /* JCColorPicker-Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "JCColorPicker-Demo.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 35C376D01D5CF5300069D7A1 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 35C376D21D5CF5300069D7A1 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 35C376D51D5CF5300069D7A1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 35C376D71D5CF5300069D7A1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 35C376DA1D5CF5300069D7A1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 35C376DC1D5CF5300069D7A1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 35C376CA1D5CF5300069D7A1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 35C376C41D5CF5300069D7A1 = { + isa = PBXGroup; + children = ( + 35C376CF1D5CF5300069D7A1 /* JCColorPicker-Demo */, + 35C376CE1D5CF5300069D7A1 /* Products */, + ); + sourceTree = ""; + }; + 35C376CE1D5CF5300069D7A1 /* Products */ = { + isa = PBXGroup; + children = ( + 35C376CD1D5CF5300069D7A1 /* JCColorPicker-Demo.app */, + ); + name = Products; + sourceTree = ""; + }; + 35C376CF1D5CF5300069D7A1 /* JCColorPicker-Demo */ = { + isa = PBXGroup; + children = ( + 35C376D01D5CF5300069D7A1 /* AppDelegate.swift */, + 35C376D21D5CF5300069D7A1 /* ViewController.swift */, + 35C376D41D5CF5300069D7A1 /* Main.storyboard */, + 35C376D71D5CF5300069D7A1 /* Assets.xcassets */, + 35C376D91D5CF5300069D7A1 /* LaunchScreen.storyboard */, + 35C376DC1D5CF5300069D7A1 /* Info.plist */, + ); + path = "JCColorPicker-Demo"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 35C376CC1D5CF5300069D7A1 /* JCColorPicker-Demo */ = { + isa = PBXNativeTarget; + buildConfigurationList = 35C376DF1D5CF5300069D7A1 /* Build configuration list for PBXNativeTarget "JCColorPicker-Demo" */; + buildPhases = ( + 35C376C91D5CF5300069D7A1 /* Sources */, + 35C376CA1D5CF5300069D7A1 /* Frameworks */, + 35C376CB1D5CF5300069D7A1 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "JCColorPicker-Demo"; + productName = "JCColorPicker-Demo"; + productReference = 35C376CD1D5CF5300069D7A1 /* JCColorPicker-Demo.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 35C376C51D5CF5300069D7A1 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0730; + LastUpgradeCheck = 0730; + ORGANIZATIONNAME = "Jonathan Cardasis"; + TargetAttributes = { + 35C376CC1D5CF5300069D7A1 = { + CreatedOnToolsVersion = 7.3; + }; + }; + }; + buildConfigurationList = 35C376C81D5CF5300069D7A1 /* Build configuration list for PBXProject "JCColorPicker-Demo" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 35C376C41D5CF5300069D7A1; + productRefGroup = 35C376CE1D5CF5300069D7A1 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 35C376CC1D5CF5300069D7A1 /* JCColorPicker-Demo */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 35C376CB1D5CF5300069D7A1 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 35C376DB1D5CF5300069D7A1 /* LaunchScreen.storyboard in Resources */, + 35C376D81D5CF5300069D7A1 /* Assets.xcassets in Resources */, + 35C376D61D5CF5300069D7A1 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 35C376C91D5CF5300069D7A1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 35C376D31D5CF5300069D7A1 /* ViewController.swift in Sources */, + 35C376D11D5CF5300069D7A1 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 35C376D41D5CF5300069D7A1 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 35C376D51D5CF5300069D7A1 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 35C376D91D5CF5300069D7A1 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 35C376DA1D5CF5300069D7A1 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 35C376DD1D5CF5300069D7A1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 35C376DE1D5CF5300069D7A1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 35C376E01D5CF5300069D7A1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = "JCColorPicker-Demo/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.jonathancardasis.JCColorPicker-Demo"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 35C376E11D5CF5300069D7A1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = "JCColorPicker-Demo/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.jonathancardasis.JCColorPicker-Demo"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 35C376C81D5CF5300069D7A1 /* Build configuration list for PBXProject "JCColorPicker-Demo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 35C376DD1D5CF5300069D7A1 /* Debug */, + 35C376DE1D5CF5300069D7A1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 35C376DF1D5CF5300069D7A1 /* Build configuration list for PBXNativeTarget "JCColorPicker-Demo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 35C376E01D5CF5300069D7A1 /* Debug */, + 35C376E11D5CF5300069D7A1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 35C376C51D5CF5300069D7A1 /* Project object */; +} diff --git a/JCColorPicker-Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/JCColorPicker-Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..6235e91 --- /dev/null +++ b/JCColorPicker-Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/JCColorPicker-Demo.xcodeproj/xcuserdata/jcardasi.xcuserdatad/xcschemes/JCColorPicker-Demo.xcscheme b/JCColorPicker-Demo.xcodeproj/xcuserdata/jcardasi.xcuserdatad/xcschemes/JCColorPicker-Demo.xcscheme new file mode 100644 index 0000000..9a1df9b --- /dev/null +++ b/JCColorPicker-Demo.xcodeproj/xcuserdata/jcardasi.xcuserdatad/xcschemes/JCColorPicker-Demo.xcscheme @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/JCColorPicker-Demo.xcodeproj/xcuserdata/jcardasi.xcuserdatad/xcschemes/xcschememanagement.plist b/JCColorPicker-Demo.xcodeproj/xcuserdata/jcardasi.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..a0996f9 --- /dev/null +++ b/JCColorPicker-Demo.xcodeproj/xcuserdata/jcardasi.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + JCColorPicker-Demo.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 35C376CC1D5CF5300069D7A1 + + primary + + + + + diff --git a/JCColorPicker-Demo/AppDelegate.swift b/JCColorPicker-Demo/AppDelegate.swift new file mode 100644 index 0000000..4126d8a --- /dev/null +++ b/JCColorPicker-Demo/AppDelegate.swift @@ -0,0 +1,46 @@ +// +// AppDelegate.swift +// JCColorPicker-Demo +// +// Created by Cardasis, Jonathan (J.) on 8/11/16. +// Copyright © 2016 Jonathan Cardasis. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(application: UIApplication) { + // 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. + } + + func applicationDidEnterBackground(application: UIApplication) { + // 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. + } + + func applicationWillEnterForeground(application: UIApplication) { + // 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. + } + + func applicationDidBecomeActive(application: UIApplication) { + // 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. + } + + func applicationWillTerminate(application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/JCColorPicker-Demo/Assets.xcassets/AppIcon.appiconset/Contents.json b/JCColorPicker-Demo/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..118c98f --- /dev/null +++ b/JCColorPicker-Demo/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,38 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/JCColorPicker-Demo/Base.lproj/LaunchScreen.storyboard b/JCColorPicker-Demo/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..2e721e1 --- /dev/null +++ b/JCColorPicker-Demo/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/JCColorPicker-Demo/Base.lproj/Main.storyboard b/JCColorPicker-Demo/Base.lproj/Main.storyboard new file mode 100644 index 0000000..3a2a49b --- /dev/null +++ b/JCColorPicker-Demo/Base.lproj/Main.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/JCColorPicker-Demo/Info.plist b/JCColorPicker-Demo/Info.plist new file mode 100644 index 0000000..6905cc6 --- /dev/null +++ b/JCColorPicker-Demo/Info.plist @@ -0,0 +1,40 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/JCColorPicker-Demo/ViewController.swift b/JCColorPicker-Demo/ViewController.swift new file mode 100644 index 0000000..33ea8c8 --- /dev/null +++ b/JCColorPicker-Demo/ViewController.swift @@ -0,0 +1,25 @@ +// +// ViewController.swift +// JCColorPicker-Demo +// +// Created by Cardasis, Jonathan (J.) on 8/11/16. +// Copyright © 2016 Jonathan Cardasis. All rights reserved. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view, typically from a nib. + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + +} +