├── ColorPickerExample.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── ColorPickerExample.xccheckout │ └── xcuserdata │ │ ├── ethan.xcuserdatad │ │ └── UserInterfaceState.xcuserstate │ │ ├── ethangroves.xcuserdatad │ │ └── UserInterfaceState.xcuserstate │ │ └── tylerhilbert.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcuserdata │ ├── ethan.xcuserdatad │ └── xcschemes │ │ ├── ColorPickerExample.xcscheme │ │ └── xcschememanagement.plist │ ├── ethangroves.xcuserdatad │ └── xcschemes │ │ ├── ColorPickerExample.xcscheme │ │ └── xcschememanagement.plist │ └── tylerhilbert.xcuserdatad │ └── xcschemes │ ├── ColorPickerExample.xcscheme │ └── xcschememanagement.plist ├── ColorPickerExample ├── AppDelegate.swift ├── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard ├── ColorPickerViewController.swift ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── palette.imageset │ │ ├── Contents.json │ │ └── palette2.png ├── Info.plist ├── ViewController.swift └── colorPalette.plist ├── ColorPickerExampleTests ├── ColorPickerExampleTests.swift └── Info.plist ├── README.md └── colorPicker.png /ColorPickerExample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4F9CA9E61A2A211D00D5E861 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F9CA9E51A2A211D00D5E861 /* AppDelegate.swift */; }; 11 | 4F9CA9E81A2A211D00D5E861 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F9CA9E71A2A211D00D5E861 /* ViewController.swift */; }; 12 | 4F9CA9EB1A2A211D00D5E861 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4F9CA9E91A2A211D00D5E861 /* Main.storyboard */; }; 13 | 4F9CA9ED1A2A211D00D5E861 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4F9CA9EC1A2A211D00D5E861 /* Images.xcassets */; }; 14 | 4F9CA9F01A2A211D00D5E861 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4F9CA9EE1A2A211D00D5E861 /* LaunchScreen.xib */; }; 15 | 4F9CA9FC1A2A211D00D5E861 /* ColorPickerExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F9CA9FB1A2A211D00D5E861 /* ColorPickerExampleTests.swift */; }; 16 | 4F9CAA061A2A228800D5E861 /* ColorPickerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F9CAA051A2A228800D5E861 /* ColorPickerViewController.swift */; }; 17 | 4F9CAA0E1A2A34E300D5E861 /* colorPalette.plist in Resources */ = {isa = PBXBuildFile; fileRef = 4F9CAA0D1A2A34E300D5E861 /* colorPalette.plist */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 4F9CA9F61A2A211D00D5E861 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 4F9CA9D81A2A211D00D5E861 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 4F9CA9DF1A2A211D00D5E861; 26 | remoteInfo = ColorPickerExample; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 4F9CA9E01A2A211D00D5E861 /* ColorPickerExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ColorPickerExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 32 | 4F9CA9E41A2A211D00D5E861 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 33 | 4F9CA9E51A2A211D00D5E861 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 34 | 4F9CA9E71A2A211D00D5E861 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 35 | 4F9CA9EA1A2A211D00D5E861 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 36 | 4F9CA9EC1A2A211D00D5E861 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 37 | 4F9CA9EF1A2A211D00D5E861 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 38 | 4F9CA9F51A2A211D00D5E861 /* ColorPickerExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ColorPickerExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 39 | 4F9CA9FA1A2A211D00D5E861 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 40 | 4F9CA9FB1A2A211D00D5E861 /* ColorPickerExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ColorPickerExampleTests.swift; sourceTree = ""; }; 41 | 4F9CAA051A2A228800D5E861 /* ColorPickerViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ColorPickerViewController.swift; sourceTree = ""; }; 42 | 4F9CAA0D1A2A34E300D5E861 /* colorPalette.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = colorPalette.plist; sourceTree = ""; }; 43 | /* End PBXFileReference section */ 44 | 45 | /* Begin PBXFrameworksBuildPhase section */ 46 | 4F9CA9DD1A2A211D00D5E861 /* Frameworks */ = { 47 | isa = PBXFrameworksBuildPhase; 48 | buildActionMask = 2147483647; 49 | files = ( 50 | ); 51 | runOnlyForDeploymentPostprocessing = 0; 52 | }; 53 | 4F9CA9F21A2A211D00D5E861 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | ); 58 | runOnlyForDeploymentPostprocessing = 0; 59 | }; 60 | /* End PBXFrameworksBuildPhase section */ 61 | 62 | /* Begin PBXGroup section */ 63 | 4F9CA9D71A2A211D00D5E861 = { 64 | isa = PBXGroup; 65 | children = ( 66 | 4F9CA9E21A2A211D00D5E861 /* ColorPickerExample */, 67 | 4F9CA9F81A2A211D00D5E861 /* ColorPickerExampleTests */, 68 | 4F9CA9E11A2A211D00D5E861 /* Products */, 69 | ); 70 | sourceTree = ""; 71 | }; 72 | 4F9CA9E11A2A211D00D5E861 /* Products */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 4F9CA9E01A2A211D00D5E861 /* ColorPickerExample.app */, 76 | 4F9CA9F51A2A211D00D5E861 /* ColorPickerExampleTests.xctest */, 77 | ); 78 | name = Products; 79 | sourceTree = ""; 80 | }; 81 | 4F9CA9E21A2A211D00D5E861 /* ColorPickerExample */ = { 82 | isa = PBXGroup; 83 | children = ( 84 | 4F9CAA0D1A2A34E300D5E861 /* colorPalette.plist */, 85 | 4F9CA9E51A2A211D00D5E861 /* AppDelegate.swift */, 86 | 4F9CA9E71A2A211D00D5E861 /* ViewController.swift */, 87 | 4F9CAA051A2A228800D5E861 /* ColorPickerViewController.swift */, 88 | 4F9CA9E91A2A211D00D5E861 /* Main.storyboard */, 89 | 4F9CA9EC1A2A211D00D5E861 /* Images.xcassets */, 90 | 4F9CA9EE1A2A211D00D5E861 /* LaunchScreen.xib */, 91 | 4F9CA9E31A2A211D00D5E861 /* Supporting Files */, 92 | ); 93 | path = ColorPickerExample; 94 | sourceTree = ""; 95 | }; 96 | 4F9CA9E31A2A211D00D5E861 /* Supporting Files */ = { 97 | isa = PBXGroup; 98 | children = ( 99 | 4F9CA9E41A2A211D00D5E861 /* Info.plist */, 100 | ); 101 | name = "Supporting Files"; 102 | sourceTree = ""; 103 | }; 104 | 4F9CA9F81A2A211D00D5E861 /* ColorPickerExampleTests */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 4F9CA9FB1A2A211D00D5E861 /* ColorPickerExampleTests.swift */, 108 | 4F9CA9F91A2A211D00D5E861 /* Supporting Files */, 109 | ); 110 | path = ColorPickerExampleTests; 111 | sourceTree = ""; 112 | }; 113 | 4F9CA9F91A2A211D00D5E861 /* Supporting Files */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 4F9CA9FA1A2A211D00D5E861 /* Info.plist */, 117 | ); 118 | name = "Supporting Files"; 119 | sourceTree = ""; 120 | }; 121 | /* End PBXGroup section */ 122 | 123 | /* Begin PBXNativeTarget section */ 124 | 4F9CA9DF1A2A211D00D5E861 /* ColorPickerExample */ = { 125 | isa = PBXNativeTarget; 126 | buildConfigurationList = 4F9CA9FF1A2A211D00D5E861 /* Build configuration list for PBXNativeTarget "ColorPickerExample" */; 127 | buildPhases = ( 128 | 4F9CA9DC1A2A211D00D5E861 /* Sources */, 129 | 4F9CA9DD1A2A211D00D5E861 /* Frameworks */, 130 | 4F9CA9DE1A2A211D00D5E861 /* Resources */, 131 | ); 132 | buildRules = ( 133 | ); 134 | dependencies = ( 135 | ); 136 | name = ColorPickerExample; 137 | productName = ColorPickerExample; 138 | productReference = 4F9CA9E01A2A211D00D5E861 /* ColorPickerExample.app */; 139 | productType = "com.apple.product-type.application"; 140 | }; 141 | 4F9CA9F41A2A211D00D5E861 /* ColorPickerExampleTests */ = { 142 | isa = PBXNativeTarget; 143 | buildConfigurationList = 4F9CAA021A2A211D00D5E861 /* Build configuration list for PBXNativeTarget "ColorPickerExampleTests" */; 144 | buildPhases = ( 145 | 4F9CA9F11A2A211D00D5E861 /* Sources */, 146 | 4F9CA9F21A2A211D00D5E861 /* Frameworks */, 147 | 4F9CA9F31A2A211D00D5E861 /* Resources */, 148 | ); 149 | buildRules = ( 150 | ); 151 | dependencies = ( 152 | 4F9CA9F71A2A211D00D5E861 /* PBXTargetDependency */, 153 | ); 154 | name = ColorPickerExampleTests; 155 | productName = ColorPickerExampleTests; 156 | productReference = 4F9CA9F51A2A211D00D5E861 /* ColorPickerExampleTests.xctest */; 157 | productType = "com.apple.product-type.bundle.unit-test"; 158 | }; 159 | /* End PBXNativeTarget section */ 160 | 161 | /* Begin PBXProject section */ 162 | 4F9CA9D81A2A211D00D5E861 /* Project object */ = { 163 | isa = PBXProject; 164 | attributes = { 165 | LastUpgradeCheck = 0930; 166 | ORGANIZATIONNAME = "Ethan Strider"; 167 | TargetAttributes = { 168 | 4F9CA9DF1A2A211D00D5E861 = { 169 | CreatedOnToolsVersion = 6.1; 170 | DevelopmentTeam = 27T3A3GGYG; 171 | LastSwiftMigration = 0930; 172 | }; 173 | 4F9CA9F41A2A211D00D5E861 = { 174 | CreatedOnToolsVersion = 6.1; 175 | LastSwiftMigration = 0930; 176 | TestTargetID = 4F9CA9DF1A2A211D00D5E861; 177 | }; 178 | }; 179 | }; 180 | buildConfigurationList = 4F9CA9DB1A2A211D00D5E861 /* Build configuration list for PBXProject "ColorPickerExample" */; 181 | compatibilityVersion = "Xcode 3.2"; 182 | developmentRegion = English; 183 | hasScannedForEncodings = 0; 184 | knownRegions = ( 185 | en, 186 | Base, 187 | ); 188 | mainGroup = 4F9CA9D71A2A211D00D5E861; 189 | productRefGroup = 4F9CA9E11A2A211D00D5E861 /* Products */; 190 | projectDirPath = ""; 191 | projectRoot = ""; 192 | targets = ( 193 | 4F9CA9DF1A2A211D00D5E861 /* ColorPickerExample */, 194 | 4F9CA9F41A2A211D00D5E861 /* ColorPickerExampleTests */, 195 | ); 196 | }; 197 | /* End PBXProject section */ 198 | 199 | /* Begin PBXResourcesBuildPhase section */ 200 | 4F9CA9DE1A2A211D00D5E861 /* Resources */ = { 201 | isa = PBXResourcesBuildPhase; 202 | buildActionMask = 2147483647; 203 | files = ( 204 | 4F9CA9EB1A2A211D00D5E861 /* Main.storyboard in Resources */, 205 | 4F9CA9F01A2A211D00D5E861 /* LaunchScreen.xib in Resources */, 206 | 4F9CA9ED1A2A211D00D5E861 /* Images.xcassets in Resources */, 207 | 4F9CAA0E1A2A34E300D5E861 /* colorPalette.plist in Resources */, 208 | ); 209 | runOnlyForDeploymentPostprocessing = 0; 210 | }; 211 | 4F9CA9F31A2A211D00D5E861 /* Resources */ = { 212 | isa = PBXResourcesBuildPhase; 213 | buildActionMask = 2147483647; 214 | files = ( 215 | ); 216 | runOnlyForDeploymentPostprocessing = 0; 217 | }; 218 | /* End PBXResourcesBuildPhase section */ 219 | 220 | /* Begin PBXSourcesBuildPhase section */ 221 | 4F9CA9DC1A2A211D00D5E861 /* Sources */ = { 222 | isa = PBXSourcesBuildPhase; 223 | buildActionMask = 2147483647; 224 | files = ( 225 | 4F9CA9E81A2A211D00D5E861 /* ViewController.swift in Sources */, 226 | 4F9CA9E61A2A211D00D5E861 /* AppDelegate.swift in Sources */, 227 | 4F9CAA061A2A228800D5E861 /* ColorPickerViewController.swift in Sources */, 228 | ); 229 | runOnlyForDeploymentPostprocessing = 0; 230 | }; 231 | 4F9CA9F11A2A211D00D5E861 /* Sources */ = { 232 | isa = PBXSourcesBuildPhase; 233 | buildActionMask = 2147483647; 234 | files = ( 235 | 4F9CA9FC1A2A211D00D5E861 /* ColorPickerExampleTests.swift in Sources */, 236 | ); 237 | runOnlyForDeploymentPostprocessing = 0; 238 | }; 239 | /* End PBXSourcesBuildPhase section */ 240 | 241 | /* Begin PBXTargetDependency section */ 242 | 4F9CA9F71A2A211D00D5E861 /* PBXTargetDependency */ = { 243 | isa = PBXTargetDependency; 244 | target = 4F9CA9DF1A2A211D00D5E861 /* ColorPickerExample */; 245 | targetProxy = 4F9CA9F61A2A211D00D5E861 /* PBXContainerItemProxy */; 246 | }; 247 | /* End PBXTargetDependency section */ 248 | 249 | /* Begin PBXVariantGroup section */ 250 | 4F9CA9E91A2A211D00D5E861 /* Main.storyboard */ = { 251 | isa = PBXVariantGroup; 252 | children = ( 253 | 4F9CA9EA1A2A211D00D5E861 /* Base */, 254 | ); 255 | name = Main.storyboard; 256 | sourceTree = ""; 257 | }; 258 | 4F9CA9EE1A2A211D00D5E861 /* LaunchScreen.xib */ = { 259 | isa = PBXVariantGroup; 260 | children = ( 261 | 4F9CA9EF1A2A211D00D5E861 /* Base */, 262 | ); 263 | name = LaunchScreen.xib; 264 | sourceTree = ""; 265 | }; 266 | /* End PBXVariantGroup section */ 267 | 268 | /* Begin XCBuildConfiguration section */ 269 | 4F9CA9FD1A2A211D00D5E861 /* Debug */ = { 270 | isa = XCBuildConfiguration; 271 | buildSettings = { 272 | ALWAYS_SEARCH_USER_PATHS = NO; 273 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 274 | CLANG_CXX_LIBRARY = "libc++"; 275 | CLANG_ENABLE_MODULES = YES; 276 | CLANG_ENABLE_OBJC_ARC = YES; 277 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 278 | CLANG_WARN_BOOL_CONVERSION = YES; 279 | CLANG_WARN_COMMA = YES; 280 | CLANG_WARN_CONSTANT_CONVERSION = YES; 281 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 282 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 283 | CLANG_WARN_EMPTY_BODY = YES; 284 | CLANG_WARN_ENUM_CONVERSION = YES; 285 | CLANG_WARN_INFINITE_RECURSION = YES; 286 | CLANG_WARN_INT_CONVERSION = YES; 287 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 288 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 289 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 290 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 291 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 292 | CLANG_WARN_STRICT_PROTOTYPES = YES; 293 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 294 | CLANG_WARN_UNREACHABLE_CODE = YES; 295 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 296 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 297 | COPY_PHASE_STRIP = NO; 298 | ENABLE_STRICT_OBJC_MSGSEND = YES; 299 | ENABLE_TESTABILITY = YES; 300 | GCC_C_LANGUAGE_STANDARD = gnu99; 301 | GCC_DYNAMIC_NO_PIC = NO; 302 | GCC_NO_COMMON_BLOCKS = YES; 303 | GCC_OPTIMIZATION_LEVEL = 0; 304 | GCC_PREPROCESSOR_DEFINITIONS = ( 305 | "DEBUG=1", 306 | "$(inherited)", 307 | ); 308 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 309 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 310 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 311 | GCC_WARN_UNDECLARED_SELECTOR = YES; 312 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 313 | GCC_WARN_UNUSED_FUNCTION = YES; 314 | GCC_WARN_UNUSED_VARIABLE = YES; 315 | IPHONEOS_DEPLOYMENT_TARGET = 8.1; 316 | MTL_ENABLE_DEBUG_INFO = YES; 317 | ONLY_ACTIVE_ARCH = YES; 318 | SDKROOT = iphoneos; 319 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 320 | }; 321 | name = Debug; 322 | }; 323 | 4F9CA9FE1A2A211D00D5E861 /* Release */ = { 324 | isa = XCBuildConfiguration; 325 | buildSettings = { 326 | ALWAYS_SEARCH_USER_PATHS = NO; 327 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 328 | CLANG_CXX_LIBRARY = "libc++"; 329 | CLANG_ENABLE_MODULES = YES; 330 | CLANG_ENABLE_OBJC_ARC = YES; 331 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 332 | CLANG_WARN_BOOL_CONVERSION = YES; 333 | CLANG_WARN_COMMA = YES; 334 | CLANG_WARN_CONSTANT_CONVERSION = YES; 335 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 336 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 337 | CLANG_WARN_EMPTY_BODY = YES; 338 | CLANG_WARN_ENUM_CONVERSION = YES; 339 | CLANG_WARN_INFINITE_RECURSION = YES; 340 | CLANG_WARN_INT_CONVERSION = YES; 341 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 342 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 343 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 344 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 345 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 346 | CLANG_WARN_STRICT_PROTOTYPES = YES; 347 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 348 | CLANG_WARN_UNREACHABLE_CODE = YES; 349 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 350 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 351 | COPY_PHASE_STRIP = YES; 352 | ENABLE_NS_ASSERTIONS = NO; 353 | ENABLE_STRICT_OBJC_MSGSEND = YES; 354 | GCC_C_LANGUAGE_STANDARD = gnu99; 355 | GCC_NO_COMMON_BLOCKS = YES; 356 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 357 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 358 | GCC_WARN_UNDECLARED_SELECTOR = YES; 359 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 360 | GCC_WARN_UNUSED_FUNCTION = YES; 361 | GCC_WARN_UNUSED_VARIABLE = YES; 362 | IPHONEOS_DEPLOYMENT_TARGET = 8.1; 363 | MTL_ENABLE_DEBUG_INFO = NO; 364 | SDKROOT = iphoneos; 365 | SWIFT_COMPILATION_MODE = wholemodule; 366 | VALIDATE_PRODUCT = YES; 367 | }; 368 | name = Release; 369 | }; 370 | 4F9CAA001A2A211D00D5E861 /* Debug */ = { 371 | isa = XCBuildConfiguration; 372 | buildSettings = { 373 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 374 | DEVELOPMENT_TEAM = 27T3A3GGYG; 375 | INFOPLIST_FILE = ColorPickerExample/Info.plist; 376 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 377 | PRODUCT_BUNDLE_IDENTIFIER = "Cybird.$(PRODUCT_NAME:rfc1034identifier)"; 378 | PRODUCT_NAME = "$(TARGET_NAME)"; 379 | SWIFT_VERSION = 4.0; 380 | TARGETED_DEVICE_FAMILY = "1,2"; 381 | }; 382 | name = Debug; 383 | }; 384 | 4F9CAA011A2A211D00D5E861 /* Release */ = { 385 | isa = XCBuildConfiguration; 386 | buildSettings = { 387 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 388 | DEVELOPMENT_TEAM = 27T3A3GGYG; 389 | INFOPLIST_FILE = ColorPickerExample/Info.plist; 390 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 391 | PRODUCT_BUNDLE_IDENTIFIER = "Cybird.$(PRODUCT_NAME:rfc1034identifier)"; 392 | PRODUCT_NAME = "$(TARGET_NAME)"; 393 | SWIFT_VERSION = 4.0; 394 | TARGETED_DEVICE_FAMILY = "1,2"; 395 | }; 396 | name = Release; 397 | }; 398 | 4F9CAA031A2A211D00D5E861 /* Debug */ = { 399 | isa = XCBuildConfiguration; 400 | buildSettings = { 401 | BUNDLE_LOADER = "$(TEST_HOST)"; 402 | FRAMEWORK_SEARCH_PATHS = ( 403 | "$(SDKROOT)/Developer/Library/Frameworks", 404 | "$(inherited)", 405 | ); 406 | GCC_PREPROCESSOR_DEFINITIONS = ( 407 | "DEBUG=1", 408 | "$(inherited)", 409 | ); 410 | INFOPLIST_FILE = ColorPickerExampleTests/Info.plist; 411 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 412 | PRODUCT_BUNDLE_IDENTIFIER = "Cybird.$(PRODUCT_NAME:rfc1034identifier)"; 413 | PRODUCT_NAME = "$(TARGET_NAME)"; 414 | SWIFT_VERSION = 4.0; 415 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ColorPickerExample.app/ColorPickerExample"; 416 | }; 417 | name = Debug; 418 | }; 419 | 4F9CAA041A2A211D00D5E861 /* Release */ = { 420 | isa = XCBuildConfiguration; 421 | buildSettings = { 422 | BUNDLE_LOADER = "$(TEST_HOST)"; 423 | FRAMEWORK_SEARCH_PATHS = ( 424 | "$(SDKROOT)/Developer/Library/Frameworks", 425 | "$(inherited)", 426 | ); 427 | INFOPLIST_FILE = ColorPickerExampleTests/Info.plist; 428 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 429 | PRODUCT_BUNDLE_IDENTIFIER = "Cybird.$(PRODUCT_NAME:rfc1034identifier)"; 430 | PRODUCT_NAME = "$(TARGET_NAME)"; 431 | SWIFT_VERSION = 4.0; 432 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ColorPickerExample.app/ColorPickerExample"; 433 | }; 434 | name = Release; 435 | }; 436 | /* End XCBuildConfiguration section */ 437 | 438 | /* Begin XCConfigurationList section */ 439 | 4F9CA9DB1A2A211D00D5E861 /* Build configuration list for PBXProject "ColorPickerExample" */ = { 440 | isa = XCConfigurationList; 441 | buildConfigurations = ( 442 | 4F9CA9FD1A2A211D00D5E861 /* Debug */, 443 | 4F9CA9FE1A2A211D00D5E861 /* Release */, 444 | ); 445 | defaultConfigurationIsVisible = 0; 446 | defaultConfigurationName = Release; 447 | }; 448 | 4F9CA9FF1A2A211D00D5E861 /* Build configuration list for PBXNativeTarget "ColorPickerExample" */ = { 449 | isa = XCConfigurationList; 450 | buildConfigurations = ( 451 | 4F9CAA001A2A211D00D5E861 /* Debug */, 452 | 4F9CAA011A2A211D00D5E861 /* Release */, 453 | ); 454 | defaultConfigurationIsVisible = 0; 455 | defaultConfigurationName = Release; 456 | }; 457 | 4F9CAA021A2A211D00D5E861 /* Build configuration list for PBXNativeTarget "ColorPickerExampleTests" */ = { 458 | isa = XCConfigurationList; 459 | buildConfigurations = ( 460 | 4F9CAA031A2A211D00D5E861 /* Debug */, 461 | 4F9CAA041A2A211D00D5E861 /* Release */, 462 | ); 463 | defaultConfigurationIsVisible = 0; 464 | defaultConfigurationName = Release; 465 | }; 466 | /* End XCConfigurationList section */ 467 | }; 468 | rootObject = 4F9CA9D81A2A211D00D5E861 /* Project object */; 469 | } 470 | -------------------------------------------------------------------------------- /ColorPickerExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ColorPickerExample.xcodeproj/project.xcworkspace/xcshareddata/ColorPickerExample.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 3748729F-68BA-458C-8914-5C58CE759723 9 | IDESourceControlProjectName 10 | ColorPickerExample 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | 18A1D5CB09DB30344839F70542DE764578C83076 14 | https://github.com/EthanStrider/iOS-Projects.git 15 | 16 | IDESourceControlProjectPath 17 | ColorPickerExample/ColorPickerExample.xcodeproj 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | 18A1D5CB09DB30344839F70542DE764578C83076 21 | ../../.. 22 | 23 | IDESourceControlProjectURL 24 | https://github.com/EthanStrider/iOS-Projects.git 25 | IDESourceControlProjectVersion 26 | 111 27 | IDESourceControlProjectWCCIdentifier 28 | 18A1D5CB09DB30344839F70542DE764578C83076 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | 18A1D5CB09DB30344839F70542DE764578C83076 36 | IDESourceControlWCCName 37 | iOS-Projects 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /ColorPickerExample.xcodeproj/project.xcworkspace/xcuserdata/ethan.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthanStrider/ColorPickerExample/3a85311c7bdbd36931e5c277de54b59437246f2c/ColorPickerExample.xcodeproj/project.xcworkspace/xcuserdata/ethan.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /ColorPickerExample.xcodeproj/project.xcworkspace/xcuserdata/ethangroves.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthanStrider/ColorPickerExample/3a85311c7bdbd36931e5c277de54b59437246f2c/ColorPickerExample.xcodeproj/project.xcworkspace/xcuserdata/ethangroves.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /ColorPickerExample.xcodeproj/project.xcworkspace/xcuserdata/tylerhilbert.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthanStrider/ColorPickerExample/3a85311c7bdbd36931e5c277de54b59437246f2c/ColorPickerExample.xcodeproj/project.xcworkspace/xcuserdata/tylerhilbert.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /ColorPickerExample.xcodeproj/xcuserdata/ethan.xcuserdatad/xcschemes/ColorPickerExample.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 77 | 83 | 84 | 85 | 86 | 87 | 88 | 94 | 96 | 102 | 103 | 104 | 105 | 107 | 108 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /ColorPickerExample.xcodeproj/xcuserdata/ethan.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | ColorPickerExample.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 4F9CA9DF1A2A211D00D5E861 16 | 17 | primary 18 | 19 | 20 | 4F9CA9F41A2A211D00D5E861 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /ColorPickerExample.xcodeproj/xcuserdata/ethangroves.xcuserdatad/xcschemes/ColorPickerExample.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 76 | 82 | 83 | 84 | 85 | 86 | 87 | 93 | 94 | 100 | 101 | 102 | 103 | 105 | 106 | 109 | 110 | 111 | -------------------------------------------------------------------------------- /ColorPickerExample.xcodeproj/xcuserdata/ethangroves.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | ColorPickerExample.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 4F9CA9DF1A2A211D00D5E861 16 | 17 | primary 18 | 19 | 20 | 4F9CA9F41A2A211D00D5E861 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /ColorPickerExample.xcodeproj/xcuserdata/tylerhilbert.xcuserdatad/xcschemes/ColorPickerExample.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /ColorPickerExample.xcodeproj/xcuserdata/tylerhilbert.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | ColorPickerExample.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 4F9CA9DF1A2A211D00D5E861 16 | 17 | primary 18 | 19 | 20 | 4F9CA9F41A2A211D00D5E861 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /ColorPickerExample/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | ColorPickerViewController.swift 4 | 5 | Created by Ethan Strider on 11/28/14. 6 | 7 | The MIT License (MIT) 8 | 9 | Copyright (c) 2014 Ethan Strider 10 | 11 | Permission is hereby granted, free of charge, to any person obtaining a copy 12 | of this software and associated documentation files (the "Software"), to deal 13 | in the Software without restriction, including without limitation the rights 14 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 15 | copies of the Software, and to permit persons to whom the Software is 16 | furnished to do so, subject to the following conditions: 17 | 18 | The above copyright notice and this permission notice shall be included in 19 | all copies or substantial portions of the Software. 20 | 21 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 22 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 23 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 24 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 25 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 26 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 27 | THE SOFTWARE. 28 | 29 | */ 30 | 31 | import UIKit 32 | 33 | @UIApplicationMain 34 | class AppDelegate: UIResponder, UIApplicationDelegate { 35 | 36 | var window: UIWindow? 37 | 38 | 39 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 40 | // Override point for customization after application launch. 41 | return true 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /ColorPickerExample/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /ColorPickerExample/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | 546 | 547 | 548 | 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 | 557 | 558 | 559 | 560 | 561 | 562 | 563 | 564 | 565 | 566 | 567 | 568 | 569 | 570 | 571 | 572 | 573 | 574 | 575 | 576 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 | 588 | 589 | 590 | 591 | 592 | 593 | 594 | 595 | 596 | 597 | 598 | 599 | 600 | 601 | 602 | 603 | 604 | 605 | 606 | 607 | 608 | 609 | 610 | 611 | 612 | 613 | 614 | 615 | 616 | 617 | 618 | 619 | 620 | 621 | 622 | 623 | 624 | 625 | 626 | 627 | 628 | 629 | 630 | 631 | 632 | 633 | 634 | 635 | 636 | 637 | 638 | 639 | 640 | 641 | 642 | 643 | 644 | 645 | 646 | 647 | 648 | 649 | 650 | 651 | 652 | 653 | 654 | 655 | 656 | 657 | 658 | 659 | 660 | 661 | 662 | 663 | 664 | 665 | 666 | 667 | 668 | 669 | 670 | 671 | 672 | 673 | 674 | 675 | 676 | 677 | 678 | 679 | 680 | 681 | 682 | 683 | 684 | 685 | 686 | 687 | 688 | 689 | 690 | 691 | 692 | 693 | 694 | 695 | 696 | 697 | 698 | 699 | 700 | 701 | 702 | 703 | 704 | 705 | 706 | 707 | 708 | 709 | 710 | 711 | 712 | 713 | 714 | 715 | 716 | 717 | 718 | 719 | 720 | 721 | 722 | 723 | 724 | 725 | 726 | 727 | 728 | 729 | 730 | 731 | 732 | 733 | 734 | 735 | 736 | 737 | 738 | 739 | 740 | 741 | 742 | 743 | 744 | 745 | 746 | 747 | 748 | 749 | 750 | 751 | 752 | 753 | 754 | 755 | 756 | 757 | 758 | 759 | 760 | 761 | 762 | 763 | 764 | 765 | 766 | 767 | 768 | 769 | 770 | 771 | 772 | 773 | 774 | 775 | 776 | 777 | 778 | 779 | 780 | 781 | 782 | 783 | 784 | 785 | 786 | 787 | 788 | 789 | 790 | 791 | 792 | 793 | 794 | 795 | 796 | 797 | 798 | 799 | 800 | 801 | 802 | 803 | 804 | 805 | 806 | 807 | 808 | 809 | 810 | 811 | 812 | 813 | 814 | 815 | 816 | 817 | 818 | 819 | 820 | 821 | 822 | 823 | 824 | 825 | 826 | 827 | 828 | 829 | 830 | 831 | 832 | 833 | 834 | 835 | 836 | 837 | 838 | 839 | 840 | 841 | 842 | 843 | 844 | 845 | 846 | 847 | 848 | 849 | 850 | 851 | 852 | 853 | 854 | 855 | 856 | 857 | 858 | 859 | 860 | 861 | 862 | 863 | 864 | 865 | 866 | 867 | 868 | 869 | 870 | 871 | 872 | 873 | 874 | 875 | 876 | 877 | 878 | 879 | 880 | 881 | 882 | 883 | 884 | 885 | 886 | 887 | 888 | 889 | 890 | 891 | 892 | 893 | 894 | 895 | 896 | 897 | 898 | 899 | 900 | 901 | 902 | 903 | 904 | 905 | 906 | 907 | 908 | 909 | 910 | 911 | 912 | 913 | 914 | 915 | 916 | 917 | 918 | 919 | 920 | 921 | 922 | 923 | 924 | 925 | 926 | 927 | 928 | 929 | 930 | 931 | 932 | 933 | 934 | 935 | 936 | 937 | 938 | 939 | 940 | 941 | 942 | 943 | 944 | 945 | 946 | 947 | 948 | 949 | 950 | 951 | 952 | 953 | 954 | 955 | 956 | 957 | 958 | 959 | 960 | 961 | 962 | 963 | 964 | 965 | 966 | 967 | 968 | 969 | 970 | 971 | 972 | 973 | 974 | 975 | 976 | 977 | 978 | 979 | 980 | 981 | 982 | 983 | 984 | 985 | 986 | 987 | 988 | 989 | 990 | 991 | 992 | 993 | 994 | 995 | 996 | 997 | 998 | 999 | 1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 1006 | 1007 | 1008 | 1009 | 1010 | 1011 | 1012 | 1013 | 1014 | 1015 | 1016 | 1017 | 1018 | 1019 | 1020 | 1021 | 1022 | 1023 | 1024 | 1025 | 1026 | 1027 | 1028 | 1029 | 1030 | 1031 | 1032 | 1033 | 1034 | 1035 | 1036 | 1037 | 1038 | 1039 | 1040 | 1041 | 1042 | 1043 | 1044 | 1045 | 1046 | 1047 | 1048 | 1049 | 1050 | 1051 | 1052 | 1053 | 1054 | 1055 | 1056 | 1057 | 1058 | 1059 | 1060 | 1061 | 1062 | 1063 | 1064 | 1065 | 1066 | 1067 | 1068 | 1069 | 1070 | 1071 | 1072 | 1073 | 1074 | 1075 | 1076 | 1077 | 1078 | 1079 | 1080 | 1081 | 1082 | 1083 | 1084 | 1085 | 1086 | 1087 | 1088 | 1089 | 1090 | 1091 | 1092 | 1093 | 1094 | 1095 | 1096 | 1097 | 1098 | 1099 | 1100 | 1101 | 1102 | 1103 | 1104 | 1105 | 1106 | 1107 | 1108 | 1109 | 1110 | 1111 | 1112 | 1113 | 1114 | 1115 | 1116 | 1117 | 1118 | 1119 | 1120 | 1121 | 1122 | 1123 | 1124 | 1125 | 1126 | 1127 | 1128 | 1129 | 1130 | 1131 | 1132 | 1133 | 1134 | 1135 | 1136 | 1137 | 1138 | 1139 | 1140 | 1141 | 1142 | 1143 | 1144 | 1145 | 1146 | 1147 | 1148 | 1149 | 1150 | 1151 | 1152 | 1153 | 1154 | 1155 | 1156 | 1157 | 1158 | 1159 | 1160 | 1161 | 1162 | 1163 | 1164 | 1165 | 1166 | 1167 | 1168 | 1169 | 1170 | 1171 | 1172 | 1173 | 1174 | 1175 | 1176 | 1177 | 1178 | 1179 | 1180 | 1181 | 1182 | 1183 | 1184 | 1185 | 1186 | 1187 | 1188 | 1189 | 1190 | 1191 | 1192 | 1193 | 1194 | 1195 | 1196 | 1197 | 1198 | 1199 | 1200 | 1201 | 1202 | 1203 | 1204 | 1205 | 1206 | 1207 | 1208 | 1209 | 1210 | 1211 | 1212 | 1213 | 1214 | 1215 | 1216 | 1217 | 1218 | 1219 | 1220 | 1221 | 1222 | 1223 | 1224 | 1225 | 1226 | 1227 | 1228 | 1229 | 1230 | 1231 | 1232 | 1233 | 1234 | 1235 | 1236 | 1237 | 1238 | 1239 | 1240 | 1241 | 1242 | 1243 | 1244 | 1245 | 1246 | 1247 | 1248 | 1249 | 1250 | 1251 | 1252 | 1253 | 1254 | 1255 | 1256 | 1257 | 1258 | 1259 | 1260 | 1261 | 1262 | 1263 | 1264 | 1265 | 1266 | 1267 | 1268 | 1269 | 1270 | 1271 | 1272 | 1273 | 1274 | 1275 | 1276 | 1277 | 1278 | 1279 | 1280 | 1281 | 1282 | 1283 | 1284 | 1285 | 1286 | 1287 | 1288 | 1289 | 1290 | 1291 | 1292 | 1293 | 1294 | 1295 | 1296 | 1297 | 1298 | 1299 | 1300 | 1301 | 1302 | 1303 | 1304 | 1305 | 1306 | 1307 | 1308 | 1309 | 1310 | 1311 | 1312 | 1313 | 1314 | 1315 | 1316 | 1317 | 1318 | 1319 | 1320 | 1321 | 1322 | 1323 | 1324 | 1325 | 1326 | 1327 | 1328 | 1329 | 1330 | 1331 | 1332 | 1333 | 1334 | 1335 | 1336 | 1337 | 1338 | 1339 | 1340 | 1341 | 1342 | 1343 | 1344 | 1345 | 1346 | 1347 | 1348 | 1349 | 1350 | 1351 | 1352 | 1353 | 1354 | 1355 | 1356 | 1357 | 1358 | 1359 | 1360 | 1361 | 1362 | 1363 | 1364 | 1365 | 1366 | 1367 | 1368 | 1369 | 1370 | 1371 | 1372 | 1373 | 1374 | 1375 | 1376 | 1377 | 1378 | 1379 | 1380 | 1381 | 1382 | 1383 | 1384 | 1385 | 1386 | -------------------------------------------------------------------------------- /ColorPickerExample/ColorPickerViewController.swift: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | ColorPickerViewController.swift 4 | 5 | Created by Ethan Strider on 11/28/14. 6 | 7 | The MIT License (MIT) 8 | 9 | Copyright (c) 2014 Ethan Strider 10 | 11 | Permission is hereby granted, free of charge, to any person obtaining a copy 12 | of this software and associated documentation files (the "Software"), to deal 13 | in the Software without restriction, including without limitation the rights 14 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 15 | copies of the Software, and to permit persons to whom the Software is 16 | furnished to do so, subject to the following conditions: 17 | 18 | The above copyright notice and this permission notice shall be included in 19 | all copies or substantial portions of the Software. 20 | 21 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 22 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 23 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 24 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 25 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 26 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 27 | THE SOFTWARE. 28 | 29 | */ 30 | 31 | import UIKit 32 | 33 | class ColorPickerViewController: UIViewController, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout { 34 | 35 | // Global variables 36 | var tag: Int = 0 37 | var color: UIColor = UIColor.gray 38 | var delegate: ViewController? = nil 39 | 40 | // This function converts from HTML colors (hex strings of the form '#ffffff') to UIColors 41 | func hexStringToUIColor (_ hex:String) -> UIColor { 42 | var cString:String = hex.trimmingCharacters(in: .whitespacesAndNewlines).uppercased() 43 | 44 | if (cString.hasPrefix("#")) { 45 | cString.remove(at: cString.startIndex) 46 | } 47 | 48 | if (cString.count != 6) { 49 | return UIColor.gray 50 | } 51 | 52 | var rgbValue:UInt32 = 0 53 | Scanner(string: cString).scanHexInt32(&rgbValue) 54 | 55 | return UIColor( 56 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0, 57 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0, 58 | blue: CGFloat(rgbValue & 0x0000FF) / 255.0, 59 | alpha: CGFloat(1.0) 60 | ) 61 | } 62 | 63 | // UICollectionViewDataSource Protocol: 64 | // Returns the number of rows in collection view 65 | internal func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { 66 | return 10 67 | } 68 | // UICollectionViewDataSource Protocol: 69 | // Returns the number of columns in collection view 70 | internal func numberOfSections(in collectionView: UICollectionView) -> Int { 71 | return 16 72 | } 73 | // UICollectionViewDataSource Protocol: 74 | // Inilitializes the collection view cells 75 | internal func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { 76 | 77 | let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell", for: indexPath) 78 | cell.backgroundColor = UIColor.clear 79 | cell.tag = tag 80 | tag = tag + 1 81 | 82 | return cell 83 | } 84 | 85 | // Recognizes and handles when a collection view cell has been selected 86 | internal func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { 87 | 88 | var colorPalette: Array 89 | 90 | // Get colorPalette array from plist file 91 | let path = Bundle.main.path(forResource: "colorPalette", ofType: "plist") 92 | let pListArray = NSArray(contentsOfFile: path!) 93 | 94 | if let colorPalettePlistFile = pListArray { 95 | colorPalette = colorPalettePlistFile as! [String] 96 | 97 | let cell: UICollectionViewCell = collectionView.cellForItem(at: indexPath)! as UICollectionViewCell 98 | let hexString = colorPalette[cell.tag] 99 | color = hexStringToUIColor(hexString) 100 | self.view.backgroundColor = color 101 | delegate?.setButtonColor(color) 102 | } 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /ColorPickerExample/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /ColorPickerExample/Images.xcassets/palette.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "palette2.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /ColorPickerExample/Images.xcassets/palette.imageset/palette2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthanStrider/ColorPickerExample/3a85311c7bdbd36931e5c277de54b59437246f2c/ColorPickerExample/Images.xcassets/palette.imageset/palette2.png -------------------------------------------------------------------------------- /ColorPickerExample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /ColorPickerExample/ViewController.swift: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | ColorPickerViewController.swift 4 | 5 | Created by Ethan Strider on 11/28/14. 6 | 7 | The MIT License (MIT) 8 | 9 | Copyright (c) 2014 Ethan Strider 10 | 11 | Permission is hereby granted, free of charge, to any person obtaining a copy 12 | of this software and associated documentation files (the "Software"), to deal 13 | in the Software without restriction, including without limitation the rights 14 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 15 | copies of the Software, and to permit persons to whom the Software is 16 | furnished to do so, subject to the following conditions: 17 | 18 | The above copyright notice and this permission notice shall be included in 19 | all copies or substantial portions of the Software. 20 | 21 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 22 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 23 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 24 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 25 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 26 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 27 | THE SOFTWARE. 28 | 29 | */ 30 | 31 | import UIKit 32 | 33 | class ViewController: UIViewController, UIPopoverPresentationControllerDelegate { 34 | 35 | 36 | @IBOutlet var button: UIButton! 37 | 38 | // Generate popover on button press 39 | @IBAction func colorPickerButton(_ sender: UIButton) { 40 | 41 | let popoverVC = storyboard?.instantiateViewController(withIdentifier: "colorPickerPopover") as! ColorPickerViewController 42 | popoverVC.modalPresentationStyle = .popover 43 | popoverVC.preferredContentSize = CGSize(width: 284, height: 446) 44 | if let popoverController = popoverVC.popoverPresentationController { 45 | popoverController.sourceView = sender 46 | popoverController.sourceRect = CGRect(x: 0, y: 0, width: 85, height: 30) 47 | popoverController.permittedArrowDirections = .any 48 | popoverController.delegate = self 49 | popoverVC.delegate = self 50 | } 51 | present(popoverVC, animated: true, completion: nil) 52 | } 53 | 54 | // Override the iPhone behavior that presents a popover as fullscreen 55 | func adaptivePresentationStyle(for controller: UIPresentationController) -> UIModalPresentationStyle { 56 | // Return no adaptive presentation style, use default presentation behaviour 57 | return .none 58 | } 59 | 60 | override func viewDidLoad() { 61 | super.viewDidLoad() 62 | // Do any additional setup after loading the view, typically from a nib. 63 | } 64 | 65 | override func didReceiveMemoryWarning() { 66 | super.didReceiveMemoryWarning() 67 | // Dispose of any resources that can be recreated. 68 | } 69 | 70 | func setButtonColor (_ color: UIColor) { 71 | button.setTitleColor(color, for:UIControlState()) 72 | } 73 | 74 | 75 | } 76 | 77 | -------------------------------------------------------------------------------- /ColorPickerExample/colorPalette.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ffffff 6 | e2e2e2 7 | c6c6c6 8 | aaaaaa 9 | 8e8e8e 10 | 707070 11 | 545454 12 | 383838 13 | 1c1c1c 14 | 000000 15 | d8fff8 16 | 91ffec 17 | 49ffe0 18 | 00ffd4 19 | 00d8b4 20 | 00b799 21 | 00967d 22 | 007561 23 | 005446 24 | 00332a 25 | d8ffeb 26 | a3ffd1 27 | 6dffb6 28 | 38ff9b 29 | 00ff7f 30 | 00d369 31 | 00a854 32 | 007c3e 33 | 005446 34 | 002613 35 | d8ffd8 36 | a3ffa3 37 | 6dff6d 38 | 38ff38 39 | 00ff00 40 | 00d600 41 | 00ad00 42 | 008400 43 | 005b00 44 | 003300 45 | ebffd8 46 | d1ffa3 47 | b6ff6d 48 | 9bff38 49 | 7fff00 50 | 6cd800 51 | 59b200 52 | 468c00 53 | 336600 54 | 1f3f00 55 | ffffd8 56 | ffff91 57 | ffff49 58 | ffff00 59 | d8d800 60 | b7b700 61 | 969600 62 | 757500 63 | 545400 64 | 333300 65 | fff5d8 66 | ffeaad 67 | ffdf82 68 | ffd456 69 | ffca2b 70 | ffbf00 71 | cc9900 72 | 997200 73 | 664c00 74 | 332600 75 | ffebd8 76 | ffd6ad 77 | ffc082 78 | ffaa56 79 | ff952b 80 | ff7f00 81 | d16800 82 | a05000 83 | 703800 84 | 3f1f00 85 | ffe2d8 86 | ffc1ad 87 | ffa182 88 | ff8056 89 | ff602b 90 | ff3f00 91 | d63500 92 | a82a00 93 | 7a1e00 94 | 4c1300 95 | ffd8d8 96 | ffadad 97 | ff8282 98 | ff5656 99 | ff2b2b 100 | ff0000 101 | d10000 102 | a00000 103 | 700000 104 | 3f0000 105 | ffd8eb 106 | ffadd6 107 | ff82c0 108 | ff56aa 109 | ff2b95 110 | ff007f 111 | cc0066 112 | 99004c 113 | 660033 114 | 330019 115 | ffd8ff 116 | ffa3ff 117 | ff6dff 118 | ff38ff 119 | ff00ff 120 | d600d6 121 | ad00ad 122 | 840084 123 | 5b005b 124 | 330033 125 | ebd8ff 126 | d6adff 127 | c082ff 128 | aa56ff 129 | 952bff 130 | 7f00ff 131 | 6600cc 132 | 4c0099 133 | 330066 134 | 190033 135 | d8d8ff 136 | adadff 137 | 8282ff 138 | 5656ff 139 | 2b2bff 140 | 0000ff 141 | 0000d1 142 | 0000a0 143 | 000070 144 | 00003f 145 | d8e5ff 146 | adc8ff 147 | 82abff 148 | 568eff 149 | 2b71ff 150 | 0055ff 151 | 0044cc 152 | 003399 153 | 002266 154 | 001133 155 | d8f2ff 156 | a3e0ff 157 | 6dceff 158 | 38bcff 159 | 00a9ff 160 | 008ed6 161 | 0073ad 162 | 005884 163 | 003d5b 164 | 002133 165 | 166 | -------------------------------------------------------------------------------- /ColorPickerExampleTests/ColorPickerExampleTests.swift: -------------------------------------------------------------------------------- 1 | /* 2 | ColorPickerExampleTests.swift 3 | ColorPickerExampleTests 4 | 5 | Created by Ethan Strider on 11/28/14. 6 | 7 | The MIT License (MIT) 8 | 9 | Copyright (c) 2014 Ethan Strider 10 | 11 | Permission is hereby granted, free of charge, to any person obtaining a copy 12 | of this software and associated documentation files (the "Software"), to deal 13 | in the Software without restriction, including without limitation the rights 14 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 15 | copies of the Software, and to permit persons to whom the Software is 16 | furnished to do so, subject to the following conditions: 17 | 18 | The above copyright notice and this permission notice shall be included in 19 | all copies or substantial portions of the Software. 20 | 21 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 22 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 23 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 24 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 25 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 26 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 27 | THE SOFTWARE. 28 | 29 | */ 30 | 31 | import UIKit 32 | import XCTest 33 | 34 | class ColorPickerExampleTests: XCTestCase { 35 | 36 | override func setUp() { 37 | super.setUp() 38 | // Put setup code here. This method is called before the invocation of each test method in the class. 39 | } 40 | 41 | override func tearDown() { 42 | // Put teardown code here. This method is called after the invocation of each test method in the class. 43 | super.tearDown() 44 | } 45 | 46 | func testExample() { 47 | // This is an example of a functional test case. 48 | XCTAssert(true, "Pass") 49 | } 50 | 51 | func testPerformanceExample() { 52 | // This is an example of a performance test case. 53 | self.measure() { 54 | // Put the code you want to measure the time of here. 55 | } 56 | } 57 | 58 | } 59 | -------------------------------------------------------------------------------- /ColorPickerExampleTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Color Picker Popover Example 2 | ============ 3 | 4 | A simple color picker popover 5 | 6 | Screenshot: 7 | 8 | ![alt text](https://raw.githubusercontent.com/EthanStrider/ColorPickerExample/master/colorPicker.png "Image Picker Screenshot") 9 | 10 | The MIT License (MIT) 11 | 12 | Copyright (c) 2014 Ethan Strider 13 | 14 | Permission is hereby granted, free of charge, to any person obtaining a copy 15 | of this software and associated documentation files (the "Software"), to deal 16 | in the Software without restriction, including without limitation the rights 17 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | copies of the Software, and to permit persons to whom the Software is 19 | furnished to do so, subject to the following conditions: 20 | 21 | The above copyright notice and this permission notice shall be included in 22 | all copies or substantial portions of the Software. 23 | 24 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | THE SOFTWARE. 31 | -------------------------------------------------------------------------------- /colorPicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthanStrider/ColorPickerExample/3a85311c7bdbd36931e5c277de54b59437246f2c/colorPicker.png --------------------------------------------------------------------------------