All Versions
18
Latest Version
Avg Release Cycle
42 days
Latest Release
2785 days ago

Changelog History
Page 2

  • v2.0.0 Changes

    • โž• Added support for hex colors, colors from images, themes, and lighten and darken by percentage methods. (By @ViccAlexander)
    Added Methods

    Chameleon.h

    • ๐Ÿ’… + (void)setGlobalThemeUsingPrimaryColor:(UIColor *)primaryColor withContentStyle:(UIContentStyle)contentStyle;
    • + (void)setGlobalThemeUsingPrimaryColor:(UIColor *)primaryColor withSecondaryColor:(UIColor *)secondaryColor andContentStyle:(UIContentStyle)contentStyle;
    • + (void)setGlobalThemeUsingPrimaryColor:(UIColor *)primaryColor withSecondaryColor:(UIColor *)secondaryColor usingFontName:(NSString *)fontName andContentStyle:(UIContentStyle)contentStyle;

    NSArray+Chameleon.h

    • + (NSArray *)arrayOfColorsFromImage:(UIImage *)image withFlatScheme (BOOL)isFlatScheme;

    UIColor+Chameleon.h

    • + (UIColor *)colorWithAverageColorFromImage:(UIImage *)image;
    • + (UIColor *)colorWithAverageColorFromImage:(UIImage *)image withAlpha:(CGFloat)alpha;
    • ๐Ÿ’… + (UIColor *)colorWithRandomFlatColorOfShadeStyle:(UIShadeStyle)shadeStyle withAlpha:(CGFloat)alpha;
    • + (UIColor *)colorWithComplementaryFlatColorOf:(UIColor *)color withAlpha:(CGFloat)alpha;
    • + (UIColor *)colorWithContrastingBlackOrWhiteColorOn:(UIColor *)backgroundColor isFlat:(BOOL)flat alpha:(CGFloat)alpha;
    • + (UIColor *)colorWithFlatVersionOf:(UIColor *)color withAlpha:(CGFloat)alpha;
    • + (UIColor *)colorWithHexString:(NSString *)string;
    • + (UIColor *)colorWithHexString:(NSString *)string withAlpha:(CGFloat)alpha;
    • - (UIColor *)flatten;
    • - (UIColor *)darkenByPercentage:(CGFloat)percentage;
    • - (UIColor *)lightenByPercentage:(CGFloat)percentage;

    UINavigationController+Chameleon.h

    • ๐Ÿ’… - (void)setStatusBarStyle:(UIStatusBarStyle)statusBarStyle;
    • ๐Ÿ’… - (void)setThemeUsingPrimaryColor:(UIColor *)primaryColor withContentStyle:(UIContentStyle)contentStyle;
    • - (void)setThemeUsingPrimaryColor:(UIColor *)primaryColor withSecondaryColor:(UIColor *)secondaryColor andContentStyle:(UIContentStyle)contentStyle;
    • setThemeUsingPrimaryColor:(UIColor *)primaryColor withSecondaryColor:(UIColor *)secondaryColor usingFontName:(NSString *)fontName andContentStyle:(UIContentStyle)contentStyle;
    • ๐Ÿ’… - (void)setStatusBarStyle:(UIStatusBarStyle)statusBarStyle;

    ๐Ÿ—„ ###### Deprecated Methods

    NSArray+Chameleon.h

    • + (NSArray *)arrayOfColorsWithColorScheme:(ColorScheme)colorScheme with:(UIColor *)color flatScheme:(BOOL)isFlatScheme

    Replaced with: + (NSArray *)arrayOfColorsWithColorScheme:(ColorScheme)colorScheme usingColor:(UIColor *)color withFlatScheme:(BOOL)isFlatScheme;

    UIViewController+Chameleon.h

    • - (void)flatify;
    • - (void)flatifyAndContrast;
    Added Macros
    • AverageColorFromImage(image)
    • AverageColorFromImageWithAlpha(image, alpha)
    • RandomFlatColorWithShadeAndAlpha(shade, alpha)
    • ColorsWithScheme(colorSchemeType, color, isFlatScheme)
    • ComplementaryFlatColorWithAlpha(color, alpha)
    • ContrastColorWithAlpha(backgroundColor, returnFlat, alpha)
    • HexColor(hexString)
    • HexColorWithAlpha(hexString, alpha)
    • RandomFlatColorWithShadeAndAlpha(shade, alpha)
    • ColorsFromImage(image, isFlatScheme)

    ๐Ÿ—„ ######Deprecated

    • ColorsWithScheme(colorSchemeType, color, isFlatScheme)

    Replaced with: ColorsWithScheme(colorSchemeType, color, isFlatScheme)

  • v1.2.1 Changes

    โ€ข Added cocoapods support for Swift 2 (Thanks to @bre7).

  • v1.2.0 Changes

    ๐Ÿ›  โ€ข Fixed cocoapods installation error #30.
    ๐Ÿ›  โ€ข Updated Swift syntax to Swift 1.2 (Fixed by @peacemoon).
    ๐Ÿ‘ โ€ข Split Objective-C & Swift Files into separate folders to keep files better organized.
    โ€ข Renamed Constants.swift to ChameleonShorthand.swift

    ๐Ÿ—„ ###### Deprecated Methods

    • FlatVersionOfColor(color)
    • ColorScheme(colorSchemeType: ColorScheme, color: UIColor, isFlatScheme: Bool)

    Replaced with: ColorSchemeOf(colorSchemeType: ColorScheme, color: UIColor, isFlatScheme: Bool) due to naming constraints.

  • v1.1.3 Changes

    โ€ข 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 Changes

    โšก๏ธ โ€ข 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 Changes

    • ๐Ÿ’… 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 Changes

    • โž• 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)

  • v1.0.1 Changes

    • โž• Added Table of Contents
    • ๐Ÿ›  Fixed a couple of spelling errors
    • ๐Ÿ›  Extra '#define' deleted (Fixed by @cascio).
    • ๐Ÿ›  Imported UIKit in ChameleonStatusBar.h and NSArray+Chameleon.h (Fixed by @jmhooper).