Commit Graph

27 Commits

Author SHA1 Message Date
Jon Cardasis
26cd07fb83 Added rounded mask to color wheel view to give nice rounded corners to the otherwise sharp-edged generated ciimage 2019-11-08 18:32:51 -05: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
fb0d1e8462 Removed legacy code and updated Fastfile to push podspec 2019-05-02 17:14:16 -04:00
Jonathan Cardasis
9f06fb522f Added tests 2019-05-02 12:37:27 -04:00
Jonathan Cardasis
105f76bc0e Updated color wheel generation for proper device scaling ratio. Updated tests. 2019-05-02 11:55:00 -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
91257408bf Updates to ColorWheelView for determining pixel color at edges of image layer where pixels are not true to the color space. The generated UIImage now honors device scale. 2019-04-19 21:39:42 -04:00
Jonathan Cardasis
b2b504081a Color wheel now adjusts bounds with proper sizing function for point determination 2019-04-19 21:06:41 -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
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
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
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