- Adding Swift 5.1 support.
- Adding SPM support.
- Updated to Swift 4.2.
Thanks to @adamstener for the big help with this release!
GradientAngle
has been added. You can choose from four predefined angles (.vertical
,.horizontal
,.bottomLeftToTopRight
,topLeftToBottomRight
) or initialize your own start and end points.
GradientDirection
has been removed. If you need to useGradientDirection.darkToLight
, instead use the.reversed
property ofGradientAngle
.