Commit Graph

18 Commits

Author SHA1 Message Date
Pedro José Pereira Vieito
ce9b95782b [Package] Added SwiftPM support and added fix to ensure the currentHandle exists event when no touch has started
The fix is required to ensure the that the brightness control works when is touched before the wheel.
2020-04-13 16:50:17 +02:00
Jon Cardasis
8bf9b34f9b Resolved issue with handleSize. Added additional tests. Example homeHandle now changes tint based on lightness of selected color 2019-11-08 16:17:06 -05:00
Jonathan Cardasis
16b9f6aa6c Updated and improved tests. Fixed sync layout issue and updated UIControlEvents to events that make more sense. Added tests for brightness slider. 2019-09-08 19:16:58 -04:00
Jonathan Cardasis
5046808248 Updated property didSet to perform synchronous view layout via layoutIfNeeded instead of async setNeedsLayout. Tests use a Host now for UIEvent to trigger. Added more test cases. 2019-09-08 16:44:15 -04:00
Jonathan Cardasis
520d4d64a7 Updated default element sizings. Updated picker delegate. 2019-05-02 10:29:52 -04:00
Jonathan Cardasis
b60527a81e Added accessory view to handles. Picker now adjusts brightness slider when tap begins and not just moved 2019-04-20 17:53:18 -04:00
Jonathan Cardasis
9b025fea85 Updated to support proper border width. ColorWheelView now uses correct center point value. 2019-04-20 15:36:22 -04:00
Jonathan Cardasis
d04eafd96d Shadow properties are now reflected on handles 2019-04-20 13:48:18 -04:00
Jonathan Cardasis
2c3749575b Organized class and optimized hitTest for usable bounds only 2019-04-19 21:42:34 -04:00
Jonathan Cardasis
d6c49a9d47 Updated readme. Scaling handle made to inflate like a balloon. 2019-04-19 18:47:06 -04:00
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
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
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
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