Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Releases: vicc/chameleon

v1.1.3

01 Jun 10:31
Compare
Choose a tag to compare
  • 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 of UIShadeStyleLight (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

01 Jun 10:30
Compare
Choose a tag to compare
  • 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 word with in arrayOfColorsWithColorScheme (Fixed by @sfader).
Deprecated Methods
  • initWithArray:for:flatScheme:

Replaced with: initWithArray:with:flatScheme:

v1.1.1

01 Jun 10:29
Compare
Choose a tag to compare
  • ShadeStyle is now UIShadeStyle
  • GradientStyle is now UIGradientStyle
  • light is now UIShadeStyleLight
  • dark is now UIShadeStyleDark
  • linearGradientLeftToRight is now UIGradientStyleLeftToRight
  • linearGradientTopToBottom is now UIGradientStyleTopToBottom
  • Added: UIGradientStyleRadial

v1.1.0

01 Jun 10:28
Compare
Choose a tag to compare
  • 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)