Commit Graph

80 Commits

Author SHA1 Message Date
Jonathan Cardasis
5de59e1092 Refactor color handle layer positioning, pulling up layout logic to parent. Picker now uses touch delegate events instead of a gesture for faster recognition. Additional handle positioning improvements. 2019-04-19 18:26:24 -04:00
Jonathan Cardasis
c701c6d109 Handle view is now drawn with inverted teardrop. Fixed color wheel issue obtaining incorrect colors of via subviews. ChromaColorPicker pan gesture implemented for handles. 2019-04-19 16:45:47 -04:00
Jonathan Cardasis
ac92bef8c6 Update readme 2019-04-16 23:55:56 -04:00
Jonathan Cardasis
1eb6bd5d23 Updated example project. Refactored and updated uicontrol classes. Brightness slider now attaches to a ChromaColorPicker instance via the connect method. 2019-04-16 22:57:38 -04:00
Jonathan Cardasis
923497892e Added larger hitbox to brightness slider 2019-04-16 22:04:45 -04:00
Jonathan Cardasis
f7ae25ef4a Updated umbrella header 2019-04-16 21:44:48 -04:00
Jonathan Cardasis
44566b0c96 Update brightness slider to have a trackColor property to update the control 2019-04-14 14:27:46 -04:00
Jonathan Cardasis
777dcbaad3 Added new readme for ChromaColorPicker 2. Moved old readme to legacy. 2019-04-14 13:47:36 -04:00
Jonathan Cardasis
1a1179fbe6 Added brightness slider and slider handle views. Created gradient backed slider track view. Refactored shadow stylings. 2019-04-14 13:11:00 -04:00
Jonathan Cardasis
927a4d8834 Expand bounds for 'contains' to account for points on the rightmost and bottommost bounds. 2019-04-12 00:22:56 -04:00
Jonathan Cardasis
65eab137b3 Added tests for ColorWheelView 2019-04-12 00:21:47 -04:00
Jonathan Cardasis
5a6d7b5e27 Added uiview dropshadow extension. ColorWheelView now supports setting a border 2019-04-11 23:08:00 -04:00
Jonathan Cardasis
01f0cc0e57 Pulled out ColorWheelView into its own view class. Added color value to cgpoint calculation relative to color wheel. Removed unused code. 2019-04-11 22:14:07 -04:00
Jonathan Cardasis
5a8f85fbcd Deintegrated cocoapods as XCTest will be used. Temporarily remove legacy source from build target. 2019-04-11 21:38:49 -04:00
Jonathan Cardasis
0713349ed7 Reorganized source and test folders. Renamed demo project to example. 2019-02-04 00:06:00 -05:00
Jonathan Cardasis
0c0664baac Added travis badge to readme. Added installation of bundler to travis yaml 2019-02-03 23:15:26 -05:00
Jonathan Cardasis
6f2c2deb6c Updated osx image version for travis ci 2019-02-03 22:50:06 -05:00
Jonathan Cardasis
df870d3416 Updated test target to use correct host app and pods. Added unit testing lane to fastlane. Added Travis CI yaml 2019-02-03 21:56:00 -05:00
Jonathan Cardasis
ddd2de122f Updated test target to use correct host app and pods. Added unit testing lane to fastlane. Added Travis CI yaml 2019-02-03 21:48:49 -05:00
Jonathan Cardasis
7abeca0fd5 Removed Pods folder 2019-02-03 20:44:39 -05:00
Jonathan Cardasis
df8ed00587 Removed EarlGrey. Now using Quick and Nimble, created initial setup. Initialized fastlane with publish_podspec lane. 2019-02-03 20:22:11 -05:00
Jonathan Cardasis
64cf8fb2d1
Update README.md 2018-11-10 13:00:37 -05:00
Jonathan Cardasis
86ac58c7b2
Update README.md 2018-11-10 12:46:49 -05:00
Jonathan Cardasis
9e542f8a0f Bump podspec 2018-11-10 12:43:37 -05:00
Jonathan Cardasis
fa8e13e10b
Merge pull request #32 from valerianb/master
Swift 4.2 and Xcode 10
2018-11-10 12:40:32 -05:00
Valérian Buyck
8df88d1ab7 Fix access-level of implicit final properties 2018-10-25 13:39:16 +02:00
Valérian Buyck
592493456f Swift 4.2 and Xcode 10 support 2018-10-25 13:34:00 +02:00
Jonathan Cardasis
e48e2cae93
Readme changes
Updated to list Swift 4 support and new cocoa pod tag
2018-01-07 17:30:09 -05:00
Jonathan Cardasis
3a8ab880d3 Fixed UIColor hexcode representation for edge cases (greys) 2018-01-07 17:24:21 -05:00
Jonathan Cardasis
03a7e79bcf Merge branch 'ManraajNijjar-AdjustFixFromAuthor' 2018-01-07 17:19:14 -05:00
Jonathan Cardasis
64e96a49af Merge branch 'AdjustFixFromAuthor' of https://github.com/ManraajNijjar/ChromaColorPicker.
Fixes lingering bug of control not adjusted to a proper color when said color had reduced saturation and brightness.
2018-01-07 17:17:20 -05:00
Jonathan Cardasis
0c57843314 Merge for Swift 4 support 2018-01-07 16:50:56 -05:00
Manraaj Nijjar
324c75018b Fixed a bug in the fix where if AdjustToColor was called on the color already listed the ShadeSlider wouldn't move properly between brightness and saturation 2017-10-04 18:52:28 -04:00
Manraaj Nijjar
6b2fb95305 Modified the AdjustColor in the ChromaColorPicker to handle colors with both sub 1 Brightness and Saturation 2017-10-04 18:28:05 -04:00
Cory Loken
f26bc3a81b Swift 4 updates 2017-09-19 20:31:35 -04:00
Jonathan Cardasis
306d096c4f Bump cocoapods version 2017-07-31 09:52:51 -04:00
Jonathan Cardasis
f254e1f4ae Merge pull request #14 from V-FEXrt/dev
Mark togglePickerColorMode function as open
2017-07-31 09:34:31 -04:00
Ashley Coleman
80748aafbb Allow calling togglePickerColorMode from outside of the library. Fix typo. 2017-07-26 12:40:04 -05:00
Jonathan Cardasis
6a706adab2 Updated podspec 2017-07-25 19:21:19 -04:00
Jonathan Cardasis
49c9c3fb29 Merge pull request #13 from joncardasis/grayscale
Adds grayscale support to the color picker
2017-07-25 18:23:37 -04:00
Jonathan Cardasis
5d3732766d Adjusted image positioning
Remove left align on images
2017-07-25 18:12:39 -04:00
Jonathan Cardasis
daed9d1660 Update README.md 2017-07-25 17:41:54 -04:00
Jonathan Cardasis
45dda2de4c Updated README for new screenshots
Added screenshots for grayscale
2017-07-25 17:41:26 -04:00
Jonathan Cardasis
b514a8730c Updated readme for grayscale changes 2017-07-25 17:31:34 -04:00
Jonathan Cardasis
45ac8f9d7b Added dynamic color change for grayscale toggle button
Toggle button will display the last hue color used when in grayscale mode. Updated storyboard constraints
2017-07-25 17:30:06 -04:00
Jonathan Cardasis
a15b4987a3 Added optional grayscale mode via supportsShadesOfGray flag
Using the supportsShadesOfGray an extra view will appear which will allow the controller to switch between a hue picker and a grayscale picker
2017-07-25 16:57:14 -04:00
Ashley Coleman
541fd45f62 Send an editingDidEnd action when either slider or handle is let go
Updated podspec for changes as well.
2017-07-24 17:22:16 -04:00
Jonathan Cardasis
a0cc3892b5 Updated readme for carthage 2017-07-24 16:32:12 -04:00
Jonathan Cardasis
3e43d02d7a Added Carthage support. Updated Cocoapod
Added carthage support via ChromaColorPicker framework and updated cocoapod podspec for the PR changes
2017-07-24 16:14:05 -04:00
Jonathan Cardasis
8757333fe3 Merge pull request #9 from V-FEXrt/master
Resolve complier warnings due to M_PI deprecation
2017-07-24 16:00:16 -04:00