This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
Releases: vicc/chameleon
Releases · vicc/chameleon
v1.1.3
- Chameleon shorthand is now supported in Swift. (Thanks to @bre7).
- Fixed Small Syntax Typo. (Fixed by @ddwang).
- Fixed issue where
-colorWithRandomFlatColorOfShadeStyle
always returns random color ofUIShadeStyleLight
(Fixed by @smokyonion). - UIGraphics context now uses the current screen's scale, preventing pixel wrap around for certain
UIColors
generated by+ (UIColor *)colorWithGradientStyle
methods (Fixed by @alist). - Removed warnings regarding the absolute value function
fabsf
(Fixed by @jherran). - Fixed the _
UIColor+Chameleon.m:444:13: code will never be executed_
, error state (Fixed by @jherran).
v1.1.2
- Updated Copyright in all files and launch images
- Added Launch Image in example project for iPhone 6 & iPhone 6 Plus
- Replaced the reserved word
for
with the wordwith
inarrayOfColorsWithColorScheme
(Fixed by @sfader).
Deprecated Methods
initWithArray:for:flatScheme:
Replaced with: initWithArray:with:flatScheme:
v1.1.1
ShadeStyle
is nowUIShadeStyle
GradientStyle
is nowUIGradientStyle
light
is nowUIShadeStyleLight
dark
is nowUIShadeStyleDark
linearGradientLeftToRight
is nowUIGradientStyleLeftToRight
linearGradientTopToBottom
is nowUIGradientStyleTopToBottom
- Added:
UIGradientStyleRadial
v1.1.0
- Added Gradient Colors
- Added Storyboard Palette Add-on
- Added Xcode Quick Help Documentation Support
- Switched from RGB colorspace to HSB & LAB colorspaces (closer to human perception)
- Implemented
ContrastingColor
which supports all alphas and has additional support for non-flat and flat colors - Changed Color difference algorithm so that it now uses CIE:2000 formula
- Changed
RandomFlatColors
from enum to nsarray values - Edited
RandomFlatColor
so that it will no longer spit out the same color back to back - Switched complementary and triadic fourth and fifth colors order.
- New Macro:
ClearColor
Deprecated Methods
colorWithContrastingBlackOrWhiteColorOn:
Replaced with: colorWithContrastingBlackOrWhiteColorOn:isFlat:
Deprecated Macros
ContrastingColorOf(backgroundColor)
Replaced with: ContrastingColorOf(backgroundColor, isFlat)
ComplementaryColorOf(color)
Replaced with: ComplementaryFlatColorOf(color)
RandomColorWithShade(shade)
Replaced with: RandomFlatColorWithShade(shade)