1.1
- Major code improvement and cleanup.
- Adds full documentation.
- Now published on CocoaPods, and can be integrated via Carthage and Swift Package Manager. Refer to the readme for more info.
- Some UI refinements.
- Selection changes in the color picker are now passed to the delegate “live”, so that you can update your UI instantly to provide a more integrated experience.
- Adds a new
ColorPickerConfiguration
class, with a variety of behavior and visual options. ColorPickerCircleView
has been renamed toColorWell
, and now acts like aUIControl
. It supports drag and drop, and you can set up a tap action to present a color picker from it.- Adds drag and drop support on the color picker popup itself.
- Color picker now appears as a popover in regular size classes (i.e., iPad and Mac Catalyst), and remains a bottom popup sheet in compact size classes (i.e. iPhone and iPad slideover).
- Adds alpha/opacity slider (which can be disabled via the configuration if not relevant).
- Adds greyscale slider.
- Fixes the hex text field not accepting input.
If you were already using Alderis 1.0, refer to Migrating to 1.1 for discussion on API changes.
Thanks to @kabiroberai and @ryannair05 for contributing pull requests to this release!